Skip to content

Commit

Permalink
chore: convert warning to debug
Browse files Browse the repository at this point in the history
There's no need to warn the user each time.
  • Loading branch information
sanjayankur31 committed Sep 4, 2024
1 parent 481fb7e commit 692c8f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion neuroml/nml/helper_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@ def add_segment_group(self, group_id, neuro_lex_id=None, notes=None):
notes=notes, validate=False
)
else:
self.logger.warning(f"Segment group '{seg_group.id}' already exists.")
self.logger.debug(f"Segment group '{seg_group.id}' already exists.")
return seg_group
Expand Down
2 changes: 1 addition & 1 deletion neuroml/nml/nml.py
Original file line number Diff line number Diff line change
Expand Up @@ -49182,7 +49182,7 @@ def add_segment_group(self, group_id, neuro_lex_id=None, notes=None):
validate=False,
)
else:
self.logger.warning(f"Segment group '{seg_group.id}' already exists.")
self.logger.debug(f"Segment group '{seg_group.id}' already exists.")

return seg_group

Expand Down

0 comments on commit 692c8f2

Please sign in to comment.