From c05fedc36491f372b1b77b2f6cd045ce6ee7e473 Mon Sep 17 00:00:00 2001 From: Michael Thornton Date: Tue, 10 Dec 2024 13:56:17 -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 d44aafc3..c4c1ea19 100644 --- a/nmdc_automation/import_automation/activity_mapper.py +++ b/nmdc_automation/import_automation/activity_mapper.py @@ -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): @@ -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):