PEtab icon indicating copy to clipboard operation
PEtab copied to clipboard

Specification for formula format

Open dilpath opened this issue 4 years ago • 1 comments

Which problem would you like to address? Please describe. Lack of specification of the format for formulae (e.g. observable/noise formulae) in PEtab tables.

Describe the solution you would like A specification that clarifies acceptable/unacceptable (usage of) symbols (e.g. accepted functions).

Describe alternatives you have considered One possibility is to use the specification for SBML L3 formulae.

Additional context The current issue is that many published models use e.g. beta and gamma as parameter IDs, but SymPy interprets these as the Beta and Gamma functions, resulting in linting errors in libpetab-python.

Don't mind what the specification is in the end (e.g. whether beta is considered a function or model component), since it's easy enough to e.g. rename beta to beta_. The point of the specification would be for consistency in the interpretation of formulae between different PEtab tools.

dilpath avatar Apr 12 '21 13:04 dilpath

Agreed that this would be very important to specify.

This might serve as a good starting point http://sbml.org/Special/Software/libSBML/docs/formatted/python-api/libsbml-math.html, but other suggestions are welcome.

Happy about any pull request to clarify this in the PEtab documentation.

dweindl avatar Jul 21 '21 12:07 dweindl