dhimmel / obonet

OBO-formatted ontologies → networkx (Python 3)
https://github.com/dhimmel/obonet/blob/main/examples/go-obonet.ipynb
Other
136 stars 28 forks source link

KeyError while reading OWL ontology #24

Closed marcomoretto closed 2 years ago

marcomoretto commented 2 years ago

To reproduce the behaviour:

import pronto
ont = pronto.Ontology('http://www.bioassayontology.org/bao/bao_complete.owl')

Gets: KeyError: 'http://www.bioassayontology.org/bao#BAO_0000110'

Strange thing is that BAO_0000110 is not in the original 'http://www.bioassayontology.org/bao/bao_complete.owl' ontology.

dhimmel commented 2 years ago

The pronto repo is https://github.com/althonos/pronto