PEtab-dev / PEtab

PEtab - an SBML and TSV based data format for parameter estimation problems in systems biology
https://petab.readthedocs.io
MIT License
56 stars 12 forks source link

Specification of math expressions #579

Closed dweindl closed 1 week ago

dweindl commented 1 month ago

Previously, the math expression syntax wasn't specified. This was very problematic, because different libraries and programming languages have different names for the same functions, and more importantly, differ in operator precedence.

:eyes: https://petab--579.org.readthedocs.build/en/579/documentation_data_format.html#math-expressions-syntax

Examples / test cases: https://github.com/dweindl/libpetab-python/blob/parse_math/tests/math/math_tests.yaml

fbergmann commented 2 weeks ago

I'm happy with the proposed description. If anything I'd rename the false_value in piecewise to otherwise. But that wont do much in the end.