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

@ -34,7 +34,10 @@ class ArgumentParserStub(argparse.ArgumentParser):
options[args[0]] = {}
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

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