kopia lustrzana https://github.com/OpenDroneMap/ODM
Better error message on ms filename match fail
rodzic
6f7c533552
commit
b47c6ef2f9
|
@ -273,7 +273,10 @@ def compute_band_maps(multi_camera, primary_band):
|
||||||
# Quick check
|
# Quick check
|
||||||
if filename_without_band == p.filename:
|
if filename_without_band == p.filename:
|
||||||
raise Exception("Cannot match bands by filename on %s, make sure to name your files [filename]_band[.ext] uniformly." % p.filename)
|
raise Exception("Cannot match bands by filename on %s, make sure to name your files [filename]_band[.ext] uniformly." % p.filename)
|
||||||
|
|
||||||
|
if not filename_without_band in filename_map:
|
||||||
|
raise Exception("Cannot match bands by filename on %s, make sure to name your files [filename]_band[.ext] uniformly, check that your images have the appropriate CaptureUUID XMP tag and that no images are missing." % p.filename)
|
||||||
|
|
||||||
s2p[p.filename] = filename_map[filename_without_band]
|
s2p[p.filename] = filename_map[filename_without_band]
|
||||||
|
|
||||||
if band['name'] != band_name:
|
if band['name'] != band_name:
|
||||||
|
|
Ładowanie…
Reference in New Issue