Skip to content

Commit

Permalink
Fix logicalreasoning mapping justification
Browse files Browse the repository at this point in the history
  • Loading branch information
matentzn committed Nov 6, 2024
1 parent 59e0db3 commit 1e8508b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down Expand Up @@ -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",
}
)
Expand Down

0 comments on commit 1e8508b

Please # to comment.