You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/Users/cjm/Library/Caches/pypoetry/virtualenvs/oaklib-OeQZizwE-py3.9/lib/python3.9/site-packages/pronto/parsers/obojson.py", line 19, in parse_from
doc = fastobo.load_graph(handle).compact_ids()
ValueError: graphs[0].nodes[0].meta.definition: missing field `xrefs` at line 10 column 27
this can be fixed with inclusion of empty dicts and lists
I fixed the fastobo-graphs source, and will push a new release of fastobo-py later on. However, in the example you use, isn't the type attribute required for node objects? And if it isn't, how should the node be treated (default to class)?
given:
pronto gives:
this can be fixed with inclusion of empty dicts and lists
but this imposes a bit of a burden on lightweight producers
The text was updated successfully, but these errors were encountered: