PySCeS / pysces

The official PySCeS project source code repository.
https://pysces.github.io
Other
34 stars 10 forks source link

Add support for SBML L3 Events #83

Closed jmrohwer closed 1 year ago

jmrohwer commented 1 year ago

During the 2nd semester of 2022 I supervised a bioinformatics Honours student (Hanri van Heerden) who worked on support for SBML L3 events in PySCeS. The following was implemented:

Implementation of the following attributes is still outstanding:

SBML import and export (round tripping) works.

To implement this, the PSC input file syntax for events was expanded as follows:

Event: name, trigger, delay, priority {
    event assignments
    }

The newly introduced priority attribute (integer or None) is optional to deal with legacy PSC files. If it is not specified, the event priority attribute is assigned to None in the model.

Example notebook and model files demonstrating the implementation are available here. That repo also contains a copy of Hanri's Honours report for reference.

bgoli commented 1 year ago

Hi nice stuff, more by email.

jmrohwer commented 1 year ago

The events branch has been merged into development, so all further development can take place there as discussed.