Skip to content

Commit

Permalink
Replace CARO anatomical entity with Uberon. Leaving the CARO root typ…
Browse files Browse the repository at this point in the history
…e for now. (#515)
  • Loading branch information
balhoff authored Jul 31, 2023
1 parent 9137fc7 commit 9976449
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public class BlazegraphOntologyManager {
root_types.add("http://purl.obolibrary.org/obo/UBERON_0001062"); //anatomical entity
root_types.add("http://purl.obolibrary.org/obo/GO_0110165"); //cellular anatomical entity
root_types.add("http://purl.obolibrary.org/obo/CARO_0000000"); // root root anatomical entity
root_types.add("http://purl.obolibrary.org/obo/UBERON_0001062"); // anatomical entity
root_types.add("http://purl.obolibrary.org/obo/UBERON_0000105"); // life cycle stage
root_types.add("http://purl.obolibrary.org/obo/PO_0009012"); // plant structure development stage
root_types.add("http://purl.obolibrary.org/obo/GO_0044848"); // biological phase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public void testGetSuperClasses() throws IOException {
//GO native cell - used a lot in shex
assertTrue("WBbt_0005753 not subclass of CL_0000003", supers.contains("http://purl.obolibrary.org/obo/CL_0000003"));
//anatomy - also used a lot in shex
assertTrue("WBbt_0005753 not subclass of CARO_0000000", supers.contains("http://purl.obolibrary.org/obo/CARO_0000000"));
assertTrue("WBbt_0005753 not subclass of UBERON_0001062", supers.contains("http://purl.obolibrary.org/obo/UBERON_0001062"));
//Cell component
uri = "http://purl.obolibrary.org/obo/GO_0000776";
supers = onto_repo.getAllSuperClasses(uri);
Expand Down Expand Up @@ -227,7 +227,7 @@ public void testGetUpperTypes() throws IOException {
//GO native cell - used a lot in shex
//assertTrue("WBbt_0005753 not subclass of CL_0000003", supers.contains("http://purl.obolibrary.org/obo/CL_0000003"));
//anatomy - also used a lot in shex
assertTrue("WBbt_0005753 not subclass of CARO_0000000", supers.contains("http://purl.obolibrary.org/obo/CARO_0000000"));
assertTrue("WBbt_0005753 not subclass of UBERON_0001062", supers.contains("http://purl.obolibrary.org/obo/UBERON_0001062"));
//Cell component
supers = uri_roots.get(cc);
assertTrue("GO_0000776 not subclass of GO_0110165 'cellular anatomical entity'", supers.contains("http://purl.obolibrary.org/obo/GO_0110165"));
Expand Down

0 comments on commit 9976449

Please sign in to comment.