Open hsauro opened 7 years ago
Needs to be in C/C++ API
It's possible to get the Antimony string from Tellurium directly; will that work for this?
Given that there is r.getCurrentSBML() and r.getCurrentAntimony() when using Tellurium, I'm closing this. But feel free to re-open if we need a C/C++ solution and not a Python solution.
The issue is whether a user can get the actual ODE model rather than the SBML or antimony. Currently a user does this using
te.getODEsFromModel(r)
v_J0 = k0S1 v_J1 = k1S1S0 v_J2 = k2S0
dS0/dt = v_J1 - v_J2 dS1/dt = v_J0 - v_J1
The question is should this functionality be built into roadrunner?
Ah, got it. So, just the list of actual dx/dt's in their final forms. Would you want assignment rules, too? Events?
I suppose in a sense you're asking for the CellML version of the model ;-)
I would think that if we want this functionality anywhere, we'd build it into roadrunner itself, since that's where the equations live.
Yes correct, rules, events and all
I thought too it should be built into roadrunner.
I new method should be added to C API, C++ API and Python bindings that returns the model in the form of a string that was derived from the SBML. The following is an example output from Jarnac: