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.
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.