Skip to content

Commit 43c0db5

Browse files
authored
Merge pull request #477 from Knowledge-Graph-Hub/ontology-case
Fix NCBITaxon nodes filename case mismatch in bacdive transform
2 parents fc36ee6 + 154c72f commit 43c0db5

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

download.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,20 @@
7777
url: https://purl.obolibrary.org/obo/hp/hp.json
7878
local_name: hp.json
7979

80+
#
81+
# UBERON (Uber Anatomy Ontology)
82+
#
83+
-
84+
url: https://purl.obolibrary.org/obo/uberon.owl
85+
local_name: uberon.owl
86+
87+
#
88+
# FOODON
89+
#
90+
-
91+
url: https://purl.obolibrary.org/obo/foodon.owl
92+
local_name: foodon.owl
93+
8094
# **** Data sources ****
8195

8296
# BacDive

kg_microbe/transform_utils/bacdive/bacdive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def _load_ncbitaxon_labels(self):
226226
This is much faster than querying the NCBITaxon SQLite database via OakLib
227227
for each record. Creates both id->label and label->id mappings.
228228
"""
229-
ncbitaxon_nodes_file = Path("data/transformed/ontologies/NCBITaxon_nodes.tsv")
229+
ncbitaxon_nodes_file = Path("data/transformed/ontologies/ncbitaxon_nodes.tsv")
230230

231231
if ncbitaxon_nodes_file.exists():
232232
try:

kg_microbe/transform_utils/ontologies/ontologies_transform.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@
7979
"mondo": "mondo.json",
8080
"hp": "hp.json",
8181
"metpo": "metpo.owl",
82+
"uberon": "uberon.owl",
83+
"foodon": "foodon.owl",
8284
}
8385

8486

0 commit comments

Comments
 (0)