Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing 'restrictions' property #110

Open
balhoff opened this issue Sep 18, 2024 · 0 comments
Open

missing 'restrictions' property #110

balhoff opened this issue Sep 18, 2024 · 0 comments

Comments

@balhoff
Copy link
Member

balhoff commented Sep 18, 2024

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:

{
      "definedClassId" : "http://purl.obolibrary.org/obo/GO_0101013",
      "genusIds" : [ "http://purl.obolibrary.org/obo/GO_0005248", "http://purl.obolibrary.org/obo/GO_0008381" ],
      "restrictions" : [ ]
}

robot:

{
      "definedClassId" : "http://purl.obolibrary.org/obo/GO_0101013",
      "genusIds" : [ "http://purl.obolibrary.org/obo/GO_0005248", "http://purl.obolibrary.org/obo/GO_0008381" ]
}

owltools outputs an empty restrictions array, but the newer obographs leaves it out. The schema doesn't mark it as optional:

"restrictions" : {

Does the obographs writer need a fix? Or should the schema be modified?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant