From 1e8508b967786eb824adf9f13cd34f7d90de1692 Mon Sep 17 00:00:00 2001 From: Nico Matentzoglu Date: Wed, 6 Nov 2024 14:12:29 +0200 Subject: [PATCH] Fix logicalreasoning mapping justification --- src/scripts/lib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/lib.py b/src/scripts/lib.py index 898a87e..807e026 100644 --- a/src/scripts/lib.py +++ b/src/scripts/lib.py @@ -819,7 +819,7 @@ def create_upheno_sssom(upheno_id_map, patterns_dir, matches_dir, anatomy_mappin converter.compress(upheno_id), "semapv:crossSpeciesExactMatch", converter.compress(species_specific_id), - "semapv:LogicalMatching" + "semapv:LogicalReasoning" ]) df_out = pd.DataFrame(sssom, columns=['subject_id', 'predicate_id', 'object_id', 'mapping_justification']) @@ -2118,7 +2118,7 @@ def generate_mapping_files(self, output): df_m["mapping_justification"] = df_m["cat"].map( { "lexical": "semapv:LexicalMatching", - "logical": "semapv:LogicalMatching", + "logical": "semapv:LogicalReasoning", "lexical-logical": "semapv:LexicalAndLogicalMatching", } )