From 0c320e5559068bb1c38dc0432ce98130de71b481 Mon Sep 17 00:00:00 2001 From: Chris Mungall Date: Fri, 2 Aug 2024 18:09:45 -0700 Subject: [PATCH] use logging rather than printing (#145) --- schemasheets/schemasheet_datamodel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemasheets/schemasheet_datamodel.py b/schemasheets/schemasheet_datamodel.py index 81e6a93..5cd6c27 100644 --- a/schemasheets/schemasheet_datamodel.py +++ b/schemasheets/schemasheet_datamodel.py @@ -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."):