ncbo / owlapi_wrapper

A command line utility that wraps the Java OWL-API to parse RDFS, OWL and OBO ontologies.
5 stars 9 forks source link

Version numbers aren't calculated for some OBO ontologies #7

Open jvendetti opened 6 years ago

jvendetti commented 6 years ago

The getOBODataVersion method is only called for ontologies where the file extension ends with "obo". Some BioPortal end users submit OBO ontologies where the file extension ends in something else, like ".ontology". In these cases, the method to determine the version number isn't called, and the system later copies the version number from the previous submission, even if an updated version number exists in the ontology source file. The Mammalian Phenotype Ontology is one such example of this issue.