kopia lustrzana https://github.com/OpenDroneMap/ODM
BUG: #1110 fix possible float to str conversion issue
rodzic
282cb6ed37
commit
95dddd4fc4
|
@ -474,7 +474,7 @@ class ToolchainTask(Task):
|
||||||
argv = get_submodel_argv(config.config(), submodels_path, submodel_name)
|
argv = get_submodel_argv(config.config(), submodels_path, submodel_name)
|
||||||
|
|
||||||
# Re-run the ODM toolchain on the submodel
|
# Re-run the ODM toolchain on the submodel
|
||||||
system.run(" ".join(map(quote, argv)), env_vars=os.environ.copy())
|
system.run(" ".join(map(quote, map(str, argv))), env_vars=os.environ.copy())
|
||||||
|
|
||||||
# This will only get executed if the command above succeeds
|
# This will only get executed if the command above succeeds
|
||||||
self.touch(completed_file)
|
self.touch(completed_file)
|
||||||
|
|
|
@ -216,7 +216,7 @@ class ODMSplitStage(types.ODM_Stage):
|
||||||
argv = get_submodel_argv(args, tree.submodels_path, sp_octx.name())
|
argv = get_submodel_argv(args, tree.submodels_path, sp_octx.name())
|
||||||
|
|
||||||
# Re-run the ODM toolchain on the submodel
|
# Re-run the ODM toolchain on the submodel
|
||||||
system.run(" ".join(map(quote, argv)), env_vars=os.environ.copy())
|
system.run(" ".join(map(quote, map(str, argv))), env_vars=os.environ.copy())
|
||||||
else:
|
else:
|
||||||
lre.set_projects([os.path.abspath(os.path.join(p, "..")) for p in submodel_paths])
|
lre.set_projects([os.path.abspath(os.path.join(p, "..")) for p in submodel_paths])
|
||||||
lre.run_toolchain()
|
lre.run_toolchain()
|
||||||
|
|
Ładowanie…
Reference in New Issue