biopragmatics/bioontologies

Feature request: Dump JSON

Opened this issue · 2 comments

I was surprised that this doesn't appear to be a feature yet. If you want, I can make a PR. For my Python scripting, I would rather use stick with bioontologies and save JSON to a file rather than use robot to do that.

I believe before I was using parse_results = bioontologies.convert_to_obograph(inpath).

I think that I was looking for a way to get a simple JSON string back, or have it save a JSON file to some path, to save myself a couple extra lines of code.

I'm currently being blocked by something more imporant:

cthoyt commented

Sorry I never got to this - I would consider a PR for this if you have something in mind