StochSS / GillesPy2

Modeling toolkit for biochemical simulation
http://gillespy2.readthedocs.io/
GNU General Public License v3.0
73 stars 32 forks source link

SBML import fails if MathML includes reserved Python words #940

Closed leon9812 closed 1 year ago

leon9812 commented 1 year ago

Minimal example model: model.xml.txt gillespy2.import_SBML fails when a MathML expression contains any reserved Python word, like lambda. Initially encountered this problem when trying to load https://jjj.bio.vu.nl/models/roy1/, which uses a parameter named lambda in a kineticLaw tag.