StochSS / stochss

StochSS - Software as a Service for modeling, simulation, inference and analysis of biochemical models. https://live.stochss.org
http://www.stochss.org
GNU General Public License v3.0
23 stars 21 forks source link

Update "notebook export" code for cleaner code #1153

Closed briandrawert closed 3 years ago

briandrawert commented 3 years ago

We need to make sure the "export to notebook" code build code like this:

self.add_reaction(Reaction(reactants={'I':1}, 
                           products={'R':2}, 
                           rate="k_d"))

Instead of this:

self.add_reaction(Reaction(reactants={'R':1,'M':1}, 
                           products={'P1':1}, 
                           rate=self.listOfParameters["k_d"]))
briandrawert commented 3 years ago

This needs to be updated in GillesPy2 first