kopia lustrzana https://github.com/OpenDroneMap/ODM
Raise exception instead of return precondition
rodzic
2aa03db889
commit
5c27a835df
|
@ -12,8 +12,7 @@ def extract_utm_coords(photos, images_path, output_coords_file):
|
||||||
:return None
|
:return None
|
||||||
"""
|
"""
|
||||||
if len(photos) == 0:
|
if len(photos) == 0:
|
||||||
log.ODM_ERROR("No input images, cannot create coordinates file of GPS positions")
|
raise Exception("No input images, cannot create coordinates file of GPS positions")
|
||||||
return
|
|
||||||
|
|
||||||
utm_zone = None
|
utm_zone = None
|
||||||
hemisphere = None
|
hemisphere = None
|
||||||
|
|
Ładowanie…
Reference in New Issue