cobrapy icon indicating copy to clipboard operation
cobrapy copied to clipboard

can't find the additional constraints after saving the model in .mat format or .json format

Open Ilhem36 opened this issue 2 years ago • 3 comments

Please explain: I'm trying to add coupling constraints in a model and save the modifications in a new model with cobra.save matlab or json image

the coupling are inserted successfully but when i reload the model I don't find the modification in the model. Do you Have please any idea to how to save the modification in the model?

Code Sample

Create a minimal, complete, verifiable example.

Context

Ilhem36 avatar Jul 23 '22 23:07 Ilhem36

Yep, unfortunately not supported yet. There is current work to bring it to SBML and JSON (see the respective PR). MAT is on the horizon but will probably still take a while

cdiener avatar Jul 24 '22 01:07 cdiener

Where can I find please the respective PR please ?

Ilhem36 avatar Jul 24 '22 07:07 Ilhem36

The newer discussion is in #1240 and the previous PR is in #996.

cdiener avatar Jul 24 '22 16:07 cdiener