PySCeS / pysces

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

Version 1.1 release #87

Closed jmrohwer closed 1 year ago

jmrohwer commented 1 year ago

This PR contains all the changes for the new 1.1 release. The description below can also serve as a basis for the new release announcement. Jupyter notebook files and test models of the new event implementation are available here.

Note: The readthedocs documentation will only be updated (rebuilt) once the actual version is released.

PySCeS Release 1.1.0

We are pleased to announce a new minor release (version 1.1.0) of the Python Simulator for Cellular Systems: PySCeS (https://pysces.github.io/). This is the first release in the 1.1 series.

What's new?

The most significant new feature in Version 1.1 is a major upgrade in the way PySCeS handles events in simulations. The definition of events follows the framework described in the SBML Level 3 Version 2 specification, thus making the event handling SBML-compliant. Specifically, event persistence (for events with a delay) is now handled correctly, and simultaneous events can be executed according to their assigned priorities.

The new event specification in the PySCeS input file reads:

Event: <name>, <trigger>, <optional_kwargs> { <assignments> }

To achive this, three new optional keyword arguments have been added as a comma-separated list to the event specification. The general syntax for these arguments is <attribute>=<value>. The keywords are:

The following event illustrates the use of a delay of ten time units with a non-persistent trigger and a priority of 3:

Event: event2, geq(_TIME_, 15.0), delay=10.0, persistent=False, priority=3 {
V3 = V3*vfact2
}

The legacy event syntax is still supported.

Other changes

README: https://github.com/PySCeS/pysces/blob/master/README.md

DOCUMENTATION: https://pyscesdocs.readthedocs.io/en/latest/

© Brett Olivier and Johann Rohwer, January 2023.

bgoli commented 1 year ago

just back from vacation and on top of my todo list

jmrohwer commented 1 year ago

@bgoli Any progress on this review? Current PySCeS no longer runs with Numpy 1.24.x due to numpy.MachAr deprecation, so I'd like to get this out.