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 4e323c5 commit c05fedc
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 @@ -199,6 +199,7 @@ def process_files(files: Union[str, List[str]], data_object_dict: Dict, workflow

# Process unique data objects
if unique:
logger.info(f"Processing unique data object {data_object_spec['data_object_type']}")
for file in map(str, self.project_files):
logger.info(f"Processing file {file}")
if re.search(data_object_spec["import_suffix"], file):
Expand All @@ -207,6 +208,7 @@ def process_files(files: Union[str, List[str]], data_object_dict: Dict, workflow

# Process multiple data data files into a single data object
else:
logger.info(f"Processing multiple data object {data_object_spec['data_object_type']}")
multiple_files = []
for file in map(str, self.project_files):
if re.search(data_object_spec["import_suffix"], file):
Expand Down

0 comments on commit c05fedc

Please sign in to comment.