Removed --images arg

Former-commit-id: 2cb2ee281b
pull/1161/head
Piero Toffanin 2019-06-30 10:21:37 -04:00
rodzic a75b8762e5
commit 5318592ebe
3 zmienionych plików z 3 dodań i 10 usunięć

Wyświetl plik

@ -55,10 +55,6 @@ parser = SettingsParser(description='OpenDroneMap',
yaml_file=open(context.settings_path))
def config():
parser.add_argument('--images', '-i',
metavar='<path>',
help='Path to input images'),
parser.add_argument('--project-path',
metavar='<path>',
help='Path to the project folder')

Wyświetl plik

@ -220,13 +220,10 @@ class ODM_GeoRef(object):
class ODM_Tree(object):
def __init__(self, root_path, images_path, gcp_file = None):
def __init__(self, root_path, gcp_file = None):
# root path to the project
self.root_path = io.absolute_path_file(root_path)
if not images_path:
self.input_images = io.join_paths(self.root_path, 'images')
else:
self.input_images = io.absolute_path_file(images_path)
self.input_images = io.join_paths(self.root_path, 'images')
# modules paths

Wyświetl plik

@ -39,7 +39,7 @@ def load_images_database(database_file):
class ODMLoadDatasetStage(types.ODM_Stage):
def process(self, args, outputs):
# Load tree
tree = types.ODM_Tree(args.project_path, args.images, args.gcp)
tree = types.ODM_Tree(args.project_path, args.gcp)
outputs['tree'] = tree
if args.time and io.file_exists(tree.benchmarking):