sys-bio / roadrunner

libRoadRunner: A high-performance SBML simulator
http://libroadrunner.org/
Other
36 stars 24 forks source link

Changing initial values should change SBML export #1193

Open luciansmith opened 4 months ago

luciansmith commented 4 months ago

Changing the current value of a parameter will change SBML export from 'getCurrentSBML'. However, changing the initial value of a parameter does not change the SBML export from 'getSBML', which is supposed to export the initial state of the model. This needs to be fixed.

r.setValue("init(k1)", 3.2)
r.getSBML() #Should contain the value of 3.2 for k1

(Tagging @dalbabur for bringing this to our attention.)