Open balhoff opened 3 weeks ago
Shadowed as "draft" item in: https://github.com/orgs/geneontology/projects/135 Tagging @pgaudet
For the ontology build we need to move to the latest version of ROBOT, to stay compatible with the latest Protege, and also to take advantage of new OBO format features which impact several different open issues in the ontology repo. Currently we use owltools for this step (the JSON change is actually in older versions of ROBOT as well), but to help manage technical debt we would like to eliminate owltools from the ontology build.
In GO, we are trying to update to the latest obographs in ROBOT. We have been using owltools, which uses an older obographs release. We noticed this change, which currently upsets the ontobio JSON reader:
owltools:
robot:
owltools outputs an empty
restrictions
array, but the newer obographs leaves it out. As pointed out by @cmungall in my issue at obographs, all properties in a JSON schema are optional unless marked required. So ontobio should be able to handle a missingrestrictions
and treat it as an empty list. I think there are other properties that will trigger this, so the same fix should be applied to all list handling.cc @kltm @sierra-moxon