Handle missing metashape data (#1015)

* Handle missing metashape data

* lint
This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-11-23 16:21:36 -08:00
1 parent 27ec772831
commit 2c64ba5b6a
2 files changed
+22 -5

No files matched your search

+2 -1
View File
@@ -564,11 +564,12 @@ class ProcessMetashape:
if num_frames == 0:
CONSOLE.print("[bold red]No images found, exiting")
sys.exit(1)
summary_log.append(
summary_log.extend(
metashape_utils.metashape_to_json(
image_filename_map=image_filename_map,
xml_filename=self.xml,
output_dir=self.output_dir,
verbose=self.verbose,
)
)