Skip to content

Commit

Permalink
Change probonto xref_type
Browse files Browse the repository at this point in the history
  • Loading branch information
nanglo123 committed Jul 17, 2024
1 parent ba9b237 commit 8ba98f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mira/dkg/construct.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ def extract_nodes_edges_from_pyobo_terms(term_getter, resource_prefix):
"target_curie": object_reference.curie,
"type": typedef.name.replace(" ", "").lower(),
"pred": typedef.curie,
"source": "eiffel",
"graph": "eiffel",
"source": resource_prefix,
"graph": resource_prefix,
"version": "",
}
)
Expand All @@ -278,7 +278,7 @@ def extract_probonto_nodes_edges():
"type": "class",
"description": "",
"obsolete": False,
"xrefs": [Xref(id=eq.get("curie", ""), type=eq.get("name", ""))
"xrefs": [Xref(id=eq.get("curie", ""), type="askemo:0000016")
for eq in term.get("equivalent", [])],
"properties": properties

Expand Down

0 comments on commit 8ba98f3

Please sign in to comment.