Skip to content

Commit

Permalink
Remove GO as purl.obolib links are often problematic
Browse files Browse the repository at this point in the history
  • Loading branch information
rsgoncalves committed Oct 1, 2024
1 parent ac2173e commit 4ee8a01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions test/simple_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ def test_caching_ontology_from_acronym(self):
assert clo_cache.cache_exists() is True

def test_caching_ontology_set(self):
nr_ontologies_in_registry = 8
ontology_registry_filepath = os.path.join("..", "text2term", "resources", "ontologies.csv")
nr_ontologies_in_registry = len(pd.read_csv(ontology_registry_filepath))

# Test caching the set of ontologies specified in resources/ontologies.csv
caches = text2term.cache_ontology_set(os.path.join("..", "text2term", "resources", "ontologies.csv"))
caches = text2term.cache_ontology_set(ontology_registry_filepath)
assert len(caches) == nr_ontologies_in_registry

def test_mapping_to_cached_ontology(self):
Expand Down
1 change: 0 additions & 1 deletion text2term/resources/ontologies.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ acronym,version,url
CL,2023-09-21,https://github.com/obophenotype/cell-ontology/releases/download/v2023-09-21/cl.owl
EFO,3.57.0,https://github.com/EBISPOT/efo/releases/download/v3.57.0/efo.owl
FOODON,0.6.0,https://github.com/FoodOntology/foodon/raw/v0.6.0/foodon.owl
GO,2023-07-27,http://purl.obolibrary.org/obo/go/releases/2023-07-27/go.owl
HPO,2023-09-01,https://github.com/obophenotype/human-phenotype-ontology/releases/download/v2023-09-01/hp.owl
MONDO,2023-09-12,https://github.com/monarch-initiative/mondo/releases/download/v2023-08-02/mondo.owl
NCIT,2022-08-19,https://github.com/NCI-Thesaurus/thesaurus-obo-edition/releases/download/v2022-08-19/ncit.owl
Expand Down

0 comments on commit 4ee8a01

Please sign in to comment.