Skip to content

Commit

Permalink
fix: correct P310 URI typo in NCIt extraction (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson authored Jan 6, 2025
1 parent a15eaeb commit fcc59a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/disease/etl/ncit.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _get_disease_classes(self) -> set[str]:
p106 = "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#P106"
neopl = self._get_by_property_value(p106, "Neoplastic Process", graph)
dos = self._get_by_property_value(p106, "Disease or Syndrome", graph)
p310 = "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#P106"
p310 = "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#P310"
retired = self._get_by_property_value(p310, "Retired_Concept", graph)
return neopl.union(dos) - retired

Expand Down

0 comments on commit fcc59a1

Please sign in to comment.