Knowledge-Graph-Hub / kg-obo

A package to transform all OBO ontologies into KGX TSV format and OBO json, and put the transformed graph in KGhub
https://knowledge-graph-hub.github.io/kg-obo/getting_started.html
GNU General Public License v3.0
28 stars 2 forks source link

Transform of `vo` does not get started due to non-unique VersionIRI #191

Open caufieldjh opened 1 year ago

caufieldjh commented 1 year ago

Describe the bug

Attempting to retrieve the latest version of vo fails:

Current VersionIRI for vo: http://purl.obolibrary.org/obo/vo.owl
Current version for vo: July-31--2022
In vo, used this value for version: a date or version info field
Have already transformed vo: http://purl.obolibrary.org/obo/vo.owl - skipping

The new version is fine and we should transform it, but KG-OBO doesn't know what to do about the fact that we already have a graph corresponding to this VersionIRI.

To Reproduce

python run.py --bucket kg-hub-public-data --save_local --force_overwrite --get_only vo

Expected behavior

This may be parsing the IRI (or even the version) incorrectly, so check on that first. If it's parsing everything correctly then a workaround to create a new IRI may be in order, though only for KG-OBO purposes.

Version

efc2324f040d8daad14ffaaaa6e71583d6258117