Skip to content

Commit

Permalink
Merge pull request #473 from biolink/NCBI_id_to_OrganismTaxon
Browse files Browse the repository at this point in the history
fix auto-assignment of category
  • Loading branch information
sierra-moxon authored Nov 6, 2023
2 parents 4e2d410 + 881c127 commit a72064d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kgx/source/obograph_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def get_category(self, curie: str, node: dict) -> Optional[str]:
elif prefix == "PR":
category = "biolink:Protein"
elif prefix == "NCBITaxon":
category = "biolink:OrganismalEntity"
category = "biolink:OrganismTaxon"
else:
self.owner.log_error(
entity=f"{str(category)} for node {curie}",
Expand Down

0 comments on commit a72064d

Please sign in to comment.