|
1 | 1 | # PySCeS changes (per GitHub release)
|
2 | 2 |
|
| 3 | + |
| 4 | +## PySCeS release 1.1.0 (Apr 2023) |
| 5 | + |
| 6 | +We are pleased to announce a new minor release (version 1.1.0) of the Python |
| 7 | +Simulator for Cellular Systems: PySCeS (https://pysces.github.io/). This is the |
| 8 | +first release in the 1.1 series. |
| 9 | + |
| 10 | +### What's new? |
| 11 | + |
| 12 | +The most significant new feature in Version 1.1 is a major upgrade in the way |
| 13 | +**PySCeS handles events in simulations**. The definition of events follows the |
| 14 | +framework described in the SBML Level 3 Version 2 specification, thus making the |
| 15 | +event handling SBML-compliant. Specifically, event **persistence** (for events with |
| 16 | +a delay) is now handled correctly, and simultaneous events can be executed |
| 17 | +according to their assigned **priorities**. |
| 18 | + |
| 19 | +The new **event specification** in the PySCeS input file reads: |
| 20 | +``` |
| 21 | +Event: <name>, <trigger>, <optional_kwargs> { <assignments> } |
| 22 | +``` |
| 23 | + |
| 24 | +To achieve this, three new optional keyword arguments have been added as a |
| 25 | +comma-separated list to the event specification. The general syntax for these |
| 26 | +arguments is `<attribute>=<value>`. The keywords are: |
| 27 | + |
| 28 | +- *delay* (float): specifies a delay between when the trigger is fired (and the |
| 29 | + assignments are evaluated) and the eventual assignment to the model. If this |
| 30 | + keyword is not specified, a value of `0.0` is assumed. |
| 31 | +- *priority* (integer or None): specifies a priority for events that trigger at the |
| 32 | + same simulation time. Events with a higher priority are executed before those |
| 33 | + with a lower priority, while events without a priority (`None`) are executed in |
| 34 | + random positions in the sequence. If this keyword is not specified, a value of |
| 35 | + `None` is assumed. |
| 36 | +- *persistent* (boolean): is only relevant to events with a delay, where the |
| 37 | + situation may occur that the trigger condition no longer holds by the time the |
| 38 | + delay in the simulation has passed. The persistent attribute specifies how to |
| 39 | + deal with this situation: if `True`, the event executes nevertheless; if `False`, |
| 40 | + the event does not execute if the trigger condition is no longer valid. If the |
| 41 | + keyword is not specified, a default of `True` is assumed. |
| 42 | + |
| 43 | +The following event illustrates the use of a delay of ten time units with a |
| 44 | +non-persistent trigger and a priority of 3: |
| 45 | +``` |
| 46 | +Event: event2, geq(_TIME_, 15.0), delay=10.0, persistent=False, priority=3 { |
| 47 | +V3 = V3*vfact2 |
| 48 | +} |
| 49 | +``` |
| 50 | +The legacy event syntax is still supported. |
| 51 | + |
| 52 | +### Other changes |
| 53 | + |
| 54 | +- A new setting has been added to the settings dictionary of the `PysMod` class |
| 55 | + with the following default: |
| 56 | + `mod.__settings__["cvode_access_solver"] = True` |
| 57 | + This specifies if the Assimulo solver object is available from within the |
| 58 | + `PysMod` instance to make low-level changes to the integration algorithm. The |
| 59 | + current default emulates previous behaviour, but the setting can be changed to |
| 60 | + `False`, which facilitates serialization of the `PysMod` class in e.g. parallel |
| 61 | + computations. Previously, the attached Assimulo solver object would prevent |
| 62 | + serialization. Thanks @c-barry |
| 63 | +- Documentation has been updated to reflect the changes to the event syntax. |
| 64 | +- Various bug fixes, including dealing with deprecations for Numpy 1.24.x |
| 65 | + compatibility. |
| 66 | + |
| 67 | +README: https://github.com/PySCeS/pysces/blob/master/README.md |
| 68 | + |
| 69 | +DOCUMENTATION: https://pyscesdocs.readthedocs.io/en/latest/ |
| 70 | + |
| 71 | +© Brett Olivier and Johann Rohwer, April 2023. |
| 72 | + |
| 73 | + |
| 74 | +## PySCeS release 1.0.3 (Sep 2022) |
| 75 | + |
| 76 | +We are pleased to announce the release of the Python Simulator for Cellular |
| 77 | +Systems: PySCeS (https://pysces.github.io/) version 1.0.3. This is the third |
| 78 | +release in the 1.0 series. |
| 79 | + |
| 80 | +### What's new? |
| 81 | +- The build-system has been adapted to make use of `scikit-build`. This gets rid of |
| 82 | +the `distutils` and `numpy.distutils` dependencies, which are deprecated and will |
| 83 | +be removed with the release of Python 3.12. |
| 84 | + |
| 85 | +### Bug Fixes: |
| 86 | +- Fixed CVODE defaults and set default tolerances to more sane levels |
| 87 | +- Fixed string replacement in parsing and construction of `PieceWise` functions |
| 88 | + |
| 89 | +README: https://github.com/PySCeS/pysces/blob/master/README.md |
| 90 | + |
| 91 | +DOCUMENTATION: https://pyscesdocs.readthedocs.io/en/latest/ |
| 92 | + |
| 93 | +© Brett Olivier and Johann Rohwer, September 2022. |
| 94 | + |
| 95 | + |
| 96 | +## PySCeS release 1.0.2 (May 2022) |
| 97 | + |
| 98 | +We are pleased to announce the release of the Python Simulator for Cellular Systems: |
| 99 | +PySCeS (https://pysces.github.io/) version 1.0.2. |
| 100 | +This is the second bug-fix release in the 1.0 series. |
| 101 | + |
| 102 | +### Fixes: |
| 103 | + |
| 104 | +- Fixed a number of bugs with `RateRule` execution with CVODE |
| 105 | +- Reintroduced the functionality to track additional items such as Assignment Rules |
| 106 | + during a simulation with CVODE |
| 107 | +- The Assimulo `CVODE` implementation has been updated, and legacy PySUNDIALS CVODE |
| 108 | + code removed |
| 109 | +- The `RateRule` and `AssignmentRule` implementations have been checked against the |
| 110 | + SBML Test Suite |
| 111 | + |
| 112 | +README: https://github.com/PySCeS/pysces/blob/master/README.md |
| 113 | + |
| 114 | +DOCUMENTATION: https://pyscesdocs.readthedocs.io/en/latest/ |
| 115 | + |
| 116 | +© Brett Olivier and Johann Rohwer, May 2022. |
| 117 | + |
| 118 | +## PySCeS release 1.0.1 (Feb 2022) |
| 119 | + |
| 120 | +We are pleased to announce the release of the Python Simulator for Cellular Systems: |
| 121 | +PySCeS (https://pysces.github.io/) version 1.0.1. This is the first bug-fix release |
| 122 | +in the 1.0 series. |
| 123 | + |
| 124 | +### Fixes: |
| 125 | + |
| 126 | +- Fixed references to numpy/scipy |
| 127 | +- Fixed a bug in `mod.Simulate(userinit=1)` with CVODE |
| 128 | +- Fixed bug where the maximal number of steps in LSODA would not be honoured from the |
| 129 | + `mod.__settings__["lsoda_mxstep"]` dictionary entry |
| 130 | +- General cleanup of license files, version files, and the way requirements are handled |
| 131 | + |
| 132 | +README: https://github.com/PySCeS/pysces/blob/master/README.md |
| 133 | + |
| 134 | +DOCUMENTATION: https://pyscesdocs.readthedocs.io/en/latest/ |
| 135 | + |
| 136 | +© Brett Olivier and Johann Rohwer, February 2022. |
| 137 | + |
| 138 | +## PySCeS release 1.0.0 (Sep 2021) |
| 139 | + |
| 140 | +We are pleased to announce the release of the Python Simulator for Cellular |
| 141 | +Systems: PySCeS (https://pysces.github.io/) version 1.0.0. |
| 142 | + |
| 143 | +**What's new in this release:** |
| 144 | + |
| 145 | +- Re-introduced support for CVODE as integrator under Python 3 (via Assimulo), |
| 146 | + which brings back support of events in models |
| 147 | +- Improved import and export of SBML |
| 148 | +- Automatic installation of optional dependencies with `pip install "pysces |
| 149 | + [optional_dep]"` |
| 150 | +- Extensive update of documentation |
| 151 | +- Numerous bug fixes |
| 152 | + |
| 153 | +**README:** https://github.com/PySCeS/pysces/blob/master/README.md |
| 154 | + |
| 155 | +**DOCUMENTATION:** https://pyscesdocs.readthedocs.io/en/latest/ |
| 156 | + |
| 157 | +© Brett Olivier and Johann Rohwer, September 2021. |
| 158 | + |
| 159 | + |
3 | 160 | ## PySCeS release 0.9.8 (May 2020)
|
4 | 161 |
|
5 | 162 | We are pleased to announce the release of the Python Simulator for Cellular Systems:
|
|
0 commit comments