-
Notifications
You must be signed in to change notification settings - Fork 9
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
Solve convert(StandardModel, model::JSONModel) issue #822
Conversation
Add required compat entries for Base libs
To avoid that missing data crash conversions
Hi there! We are actually in the process of releasing COBREXA v2 (see here). We can definitely take a look at this PR, but you might want to consider porting it over here. We split out the model loading interface from the analysis functions, and introduced a much cleaner framework to make building complex models really easy. |
Hi @josePereiro, thanks a lot! I guess the patch looks OK, I'll try to merge this here (and take it apart into the new version's repositories) ASAP. Among other things the (external) CI is currently a little dead; I'll check the stuff manually later. For the "formatting" CI, if you click |
Hi, it's good to hear about the progress on COBREXA v2. It will be great to have functionality separated into modules. I would suggest placing a notice in the COBREXA v1 package about this "news"; otherwise, it may seem like the project's development/maintenance status is lower. I've opened a new PR on JSONFBCModels. Most of the default functionality was already implemented, but the model at hand has deeper nested annotations, so the parser fails... |
/format |
❌ Auto-formatting triggered by this comment failed, perhaps someone pushed to the PR in the meantime? |
I tested this manually, all is OK. Thanks! |
`dflt` somehow triggers `deflate` in my brain instead of `default` :D
@josePereiro I will try to release this asap (not today, too late). If I forget about it PLEASE do feel free to remind me, I want to release this but in case it's not out next wednesday or so I just forgot. :D |
Description
Hi, I'm trying to load a json model (download link: elife-36842-supp10-v2.json) from this paper.
The following code throw an error
The error is related with the management of missing keys in the JSONModel... Mustly notes and annotations...
This pull request aim to solve them by returning default (empty) values when need it and generalizing the parsing mechanism.
Saludos
Checklist
JuliaFormatter
(run
using JuliaFormatter; format("path/to/COBREXA.jl");
)]test COBREXA
)cd docs; julia make.jl
)