Exposed rerun parameter

pull/28/head
Piero Toffanin 2018-01-18 10:54:09 -05:00
rodzic 1f0e49cb2d
commit 0cf514ee1a
2 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -35,6 +35,9 @@ class ArgumentParserStub(argparse.ArgumentParser):
for name, value in kwargs.items():
options[args[0]][str(name)] = str(value)
def add_mutually_exclusive_group(self):
return ArgumentParserStub()
odm.parser = ArgumentParserStub()
odm.config()
print json.dumps(options)

Wyświetl plik

@ -43,6 +43,7 @@ module.exports = {
if (["-h", "--project-path", "--cmvs-maxImages", "--time",
"--zip-results", "--pmvs-num-cores",
"--start-with", "--gcp", "--end-with", "--images",
"--rerun-all", "--rerun-from",
"--slam-config", "--video", "--version", "--name"].indexOf(option) !== -1) continue;
let values = json[option];