Skip to content

Commit

Permalink
use logging rather than printing (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmungall authored Aug 3, 2024
1 parent 530f303 commit 0c320e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schemasheets/schemasheet_datamodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def add_info(self, info: Union[Dict, DESCRIPTOR]) -> None:
snmap = mm.slot_name_mappings()
for k, v in snmap.items():
if k != v.name:
print(k,v.name)
logging.info(f"Mismatch between slot_name_mapping key {k} slot name {v.name}")
# TODO: use alias
snmap['uri'] = snmap['type_uri']
if self.maps_to.startswith("metaslot."):
Expand Down

0 comments on commit 0c320e5

Please sign in to comment.