Skip to content

Commit

Permalink
changing logging levels for #47
Browse files Browse the repository at this point in the history
  • Loading branch information
iannesbitt committed Nov 10, 2023
1 parent b6d98e5 commit 836ad07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soscan/sonormalizepipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ def process_item(self, item, spider):
self.logger.debug(f'alt_identifiers: {item["alt_identifiers"]}')
else:
# if the first identifier is an empty list, we need to look for others
self.logger.debug(f'Empty identifier in first grouping')
self.logger.warning(f'Empty identifier in first Dataset grouping')
g = 0
for group in ids:
g += 1
self.logger.debug(f'Grouping {g}: {group}')
self.logger.info(f'Dataset grouping {g}: {group}')
if len(group["identifier"]) > 0:
if item["series_id"] is None:
item["series_id"] = group["identifier"][0]
Expand Down

0 comments on commit 836ad07

Please sign in to comment.