From aeb96bfc8d7274b641f860bf96bb74c1c42d2601 Mon Sep 17 00:00:00 2001 From: Michael Thornton Date: Tue, 10 Dec 2024 13:14:09 -0800 Subject: [PATCH] more logging --- nmdc_automation/import_automation/activity_mapper.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nmdc_automation/import_automation/activity_mapper.py b/nmdc_automation/import_automation/activity_mapper.py index ba325c30..b1de1bc0 100644 --- a/nmdc_automation/import_automation/activity_mapper.py +++ b/nmdc_automation/import_automation/activity_mapper.py @@ -189,7 +189,9 @@ def process_files(files: Union[str, List[str]], data_object_dict: Dict, workflow data_objects_key = "Unique" if unique else "Multiples" data_object_specs = self.import_data["Data Objects"][data_objects_key] for data_object_spec in data_object_specs: + logger.info(f"Processing {data_object_spec['data_object_type']}") if not filter_import_by_type(self.import_data["Workflows"], data_object_spec["output_of"]): + logging.warning(f"Skipping {data_object_spec['data_object_type']}") continue if not "import_suffix" in data_object_spec: logging.warning("Missing suffix")