AMICI-dev / AMICI

Advanced Multilanguage Interface to CVODES and IDAS
https://amici.readthedocs.io/
Other
108 stars 30 forks source link

SBML import: Evaluate initial assignments #2359

Closed dweindl closed 6 months ago

dweindl commented 6 months ago

Evaluate initial assignments to parameters to determine whether the targets are amici parameters or expressions. Related to https://github.com/AMICI-dev/AMICI/pull/2304.

For example, it the initial assignment is log(10), this should still be a parameter instead of an expression, but sympy.log(10).is_Number will be False.