petab.models.sbml_model.sympify_sbml currently uses sympy.sympify for evaluating SBML L3 formulas. Operator precedence is different between sympy and SBML L3 formulas. This can lead to hard-to-find issues. Use a proper parser, e.g. https://github.com/dweindl/sbmlmath/.
petab.models.sbml_model.sympify_sbml
currently usessympy.sympify
for evaluating SBML L3 formulas. Operator precedence is different between sympy and SBML L3 formulas. This can lead to hard-to-find issues. Use a proper parser, e.g. https://github.com/dweindl/sbmlmath/.