You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
loading local OboGraph JSON files following examples from the notebooks or using local obograph JSON files generated by ROBOT consistently => empty graphs
eg.
fromontobio.ontol_factoryimportOntologyFactoryont=OntologyFactory()
n=ont.create("./tests/resources/nucleus.json")
2021-12-0122:16:19 [WARNING] [PID:90975TID:4447808960] [sparql_ontol_utils.py:98in`get_edges`] Noedgesfor ./tests/resources/nucleus.json2021-12-0122:16:19 [ERROR] [PID:90975TID:4447808960] [sparql_ontology.py:233in`__init__`] Emptygraphfor'./tests/resources/nucleus.json'-didyouusethecorrectid?
# OTOH - Loading remote using OBO ontology ID works fine. pato=ont.create('pato')
pato.search('morphology')
['PATO:0000051']
pato.parents('PATO:0000051')
['PATO:0001241']
I've seen this with both PyPi install and the latest code from GitHub.
The text was updated successfully, but these errors were encountered:
I've realised this only works with files in the working directory or if path to root directory is given. Keeping open as I think this should be better documented.
loading local OboGraph JSON files following examples from the notebooks or using local obograph JSON files generated by ROBOT consistently => empty graphs
eg.
I've seen this with both PyPi install and the latest code from GitHub.
The text was updated successfully, but these errors were encountered: