Skip to content

Commit

Permalink
chore: convert more warnings to debug
Browse files Browse the repository at this point in the history
Users don't need to be warned of these again and again.
  • Loading branch information
sanjayankur31 committed Sep 4, 2024
1 parent 692c8f2 commit e00f20e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions neuroml/nml/helper_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -1535,8 +1535,8 @@ def add_segment(
try:
seg_group = self.get_segment_group(group_id)
except ValueError as e:
self.logger.warning("{}".format(e))
self.logger.warning(f"Creating Segment Group with id '{group_id}'")
self.logger.debug("{}".format(e))
self.logger.debug(f"Creating Segment Group with id '{group_id}'")
seg_group = self.add_segment_group(
group_id=group_id
)
Expand Down
4 changes: 2 additions & 2 deletions neuroml/nml/nml.py
Original file line number Diff line number Diff line change
Expand Up @@ -49087,8 +49087,8 @@ def add_segment(
try:
seg_group = self.get_segment_group(group_id)
except ValueError as e:
self.logger.warning("{}".format(e))
self.logger.warning(f"Creating Segment Group with id '{group_id}'")
self.logger.debug("{}".format(e))
self.logger.debug(f"Creating Segment Group with id '{group_id}'")
seg_group = self.add_segment_group(group_id=group_id)
seg_group.members.append(Member(segments=segment.id))

Expand Down

0 comments on commit e00f20e

Please sign in to comment.