kopia lustrzana https://github.com/OpenDroneMap/ODM
add error when pictures are not placed in images dir
rodzic
515e327c1e
commit
986b00a7ad
|
@ -34,6 +34,9 @@ class ODMLoadDatasetCell(ecto.Cell):
|
|||
|
||||
if not io.dir_exists(images_dir) or rerun_cell:
|
||||
images_dir = io.join_paths(project_path, 'images')
|
||||
if not io.dir_exists(images_dir):
|
||||
log.ODM_ERROR("You must put your pictures into an <images> directory")
|
||||
return ecto.QUIT
|
||||
|
||||
log.ODM_DEBUG('Loading dataset from: %s' % images_dir)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue