Skip to content

Commit

Permalink
more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mbthornton-lbl committed Dec 10, 2024
1 parent cc679b5 commit aeb96bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nmdc_automation/import_automation/activity_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit aeb96bf

Please sign in to comment.