Skip to content

Commit a87058e

Browse files
authored
Merge pull request #2690 from AMICI-dev/release_0.31.2
Release 0.31.2
2 parents 4cda6c7 + f2f081e commit a87058e

16 files changed

+193
-127
lines changed

.github/workflows/test_valgrind.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
jobs:
1515
valgrind_cpp:
1616
name: Valgrind C++
17+
# don't run cron job on forks
18+
if: github.repository == 'AMICI-dev/AMICI'
19+
1720
runs-on: ubuntu-24.04
1821

1922
strategy:
@@ -61,6 +64,8 @@ jobs:
6164

6265
valgrind_python:
6366
name: Valgrind Python
67+
# don't run cron job on forks
68+
if: github.repository == 'AMICI-dev/AMICI'
6469

6570
runs-on: ubuntu-24.04
6671

.github/workflows/test_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
env:
2020
AMICI_SKIP_CMAKE_TESTS: "TRUE"
21-
openBLAS_version: "0.3.19"
21+
openBLAS_version: "0.3.29"
2222
AMICI_DLL_DIRS: "C:\\BLAS\\OpenBLAS\\bin"
2323
LIB: "C:/BLAS/OpenBLAS/lib"
2424
CFLAGS: "-nologo"

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,24 @@ See also our [versioning policy](https://amici.readthedocs.io/en/latest/versioni
44

55
## v0.X Series
66

7+
### v0.31.2 (2025-04-23)
8+
9+
Bugfix-only release.
10+
11+
* SBML import: Handle unsolvable event triggers
12+
by @dweindl in https://github.com/AMICI-dev/AMICI/pull/2686
13+
* Fixed a clang compiler warning related to variable length arrays
14+
by @FFroehlich in https://github.com/AMICI-dev/AMICI/pull/2688
15+
* Temporarily require interpax<=0.3.6
16+
by @dweindl in https://github.com/AMICI-dev/AMICI/pull/2678
17+
* Update OpenBLAS installation script to work with CMake>=4
18+
by @dweindl in https://github.com/AMICI-dev/AMICI/pull/2679
19+
* GHA: Don't run cron jobs on forks by @dweindl in https://github.com/AMICI-dev/AMICI/pull/2669
20+
* Fixed Matlab documentation build with CMake 4.0
21+
by @dweindl in https://github.com/AMICI-dev/AMICI/pull/2676
22+
23+
**Full Changelog**: https://github.com/AMICI-dev/AMICI/compare/v0.31.1...v0.31.2
24+
725
### v0.31.1 (2025-03-21)
826

927
Bugfix-only release.

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -128,23 +128,25 @@ There is a list of [publications using AMICI](https://amici.readthedocs.io/en/la
128128
If you used AMICI in your work, we are happy to include
129129
your project, please let us know via a GitHub issue.
130130

131-
When using AMICI in your project, please cite
131+
When using AMICI in your project, please cite:
132+
132133
* Fröhlich, F., Weindl, D., Schälte, Y., Pathirana, D., Paszkowski, Ł., Lines, G.T., Stapor, P. and Hasenauer, J., 2021.
133134
AMICI: High-Performance Sensitivity Analysis for Large Ordinary Differential Equation Models. Bioinformatics, btab227,
134135
[DOI:10.1093/bioinformatics/btab227](https://doi.org/10.1093/bioinformatics/btab227).
135-
```
136-
@article{frohlich2020amici,
137-
title={AMICI: High-Performance Sensitivity Analysis for Large Ordinary Differential Equation Models},
138-
author={Fr{\"o}hlich, Fabian and Weindl, Daniel and Sch{\"a}lte, Yannik and Pathirana, Dilan and Paszkowski, {\L}ukasz and Lines, Glenn Terje and Stapor, Paul and Hasenauer, Jan},
139-
journal = {Bioinformatics},
140-
year = {2021},
141-
month = {04},
142-
issn = {1367-4803},
143-
doi = {10.1093/bioinformatics/btab227},
144-
note = {btab227},
145-
eprint = {https://academic.oup.com/bioinformatics/advance-article-pdf/doi/10.1093/bioinformatics/btab227/36866220/btab227.pdf},
146-
}
147-
```
136+
137+
```bibtex
138+
@article{frohlich2020amici,
139+
title={AMICI: High-Performance Sensitivity Analysis for Large Ordinary Differential Equation Models},
140+
author={Fr{\"o}hlich, Fabian and Weindl, Daniel and Sch{\"a}lte, Yannik and Pathirana, Dilan and Paszkowski, {\L}ukasz and Lines, Glenn Terje and Stapor, Paul and Hasenauer, Jan},
141+
journal = {Bioinformatics},
142+
year = {2021},
143+
month = {04},
144+
issn = {1367-4803},
145+
doi = {10.1093/bioinformatics/btab227},
146+
note = {btab227},
147+
eprint = {https://academic.oup.com/bioinformatics/advance-article-pdf/doi/10.1093/bioinformatics/btab227/36866220/btab227.pdf},
148+
}
149+
```
148150

149151
When presenting work that employs AMICI, feel free to use one of the icons in
150152
[doc/gfx/](https://github.com/AMICI-dev/AMICI/tree/master/doc/gfx),

doc/background.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ publications:
5252
.. note::
5353

5454
Implementation details of the latest AMICI versions may differ from the ones
55-
given in the references manuscripts.
55+
given in the referenced manuscripts.
5656

5757

5858
Third-Party numerical algorithms used by AMICI
5959
----------------------------------------------
6060

61-
AMICI uses the following packages from SUNDIALS:
61+
AMICI uses the following packages from `SUNDIALS <https://computing.llnl.gov/projects/sundials>`__:
6262

6363
* CVODES:
6464

@@ -70,7 +70,7 @@ AMICI uses the following packages from SUNDIALS:
7070

7171
* IDAS
7272

73-
AMICI uses the following packages from SuiteSparse:
73+
AMICI uses the following packages from `SuiteSparse <https://github.com/DrTimothyAldenDavis/SuiteSparse>`__:
7474

7575
* Algorithm 907: **KLU** A Direct Sparse Solver for Circuit Simulation
7676
Problems. Timothy A. Davis, Ekanathan Palamadai Natarajan,

doc/development.rst

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -109,28 +109,10 @@ Python
109109

110110
- We use Python `type
111111
hints <https://docs.python.org/3/library/typing.html>`__ for all
112-
functions (but not for class attributes, since they are not supported
113-
by the current Python doxygen filter). In Python code, type hints
114-
should be used instead of doxygen ``@type``.
112+
functions and attributes. We do not include any other redundant
113+
type annotation in docstrings.
115114

116-
For function docstrings, follow this format:
117-
118-
::
119-
120-
"""One-line description.
121-
122-
Possible a more detailed description
123-
124-
Arguments:
125-
Argument1: This needs to start on the same line, otherwise the current
126-
doxygen filter will fail.
127-
128-
Returns:
129-
Return value
130-
131-
Raises:
132-
SomeError in case of some error.
133-
"""
115+
- We use the `sphinx docstring-style <https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html>`__ for new code.
134116

135117
C++
136118
^^^

doc/how_to_cite.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ When using AMICI in your project, please cite
3232
}
3333
3434
When presenting work that employs AMICI, feel free to use one of the icons in
35-
`documentation/gfx/ <https://github.com/AMICI-dev/AMICI/tree/master/documentation/gfx>`_,
35+
`documentation/gfx/ <https://github.com/AMICI-dev/AMICI/tree/master/doc/gfx>`_,
3636
which are available under a
37-
`CC0 <https://github.com/AMICI-dev/AMICI/tree/master/documentation/gfx/LICENSE.md>`_
37+
`CC0 <https://github.com/AMICI-dev/AMICI/tree/master/doc/gfx/LICENSE.md>`_
3838
license:
3939

40-
.. image:: https://raw.githubusercontent.com/AMICI-dev/AMICI/master/documentation/gfx/logo_text.png
41-
:target: https://raw.githubusercontent.com/AMICI-dev/AMICI/master/documentation/gfx/logo_text.png
40+
.. image:: https://raw.githubusercontent.com/AMICI-dev/AMICI/master/doc/gfx/logo_text.png
41+
:target: https://raw.githubusercontent.com/AMICI-dev/AMICI/master/doc/gfx/logo_text.png
4242
:height: 75
4343
:alt: AMICI LOGO

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ filterwarnings =
1111
ignore:Conservation laws for non-constant species in models with RateRules are currently not supported and will be turned off.:UserWarning
1212
ignore:Conservation laws for non-constant species in models with Species-AssignmentRules are currently not supported and will be turned off.:UserWarning
1313
ignore:Conservation laws for non-constant species in combination with parameterized stoichiometric coefficients are not currently supported and will be turned off.:UserWarning
14-
ignore:Support for PEtab2.0 is experimental!:UserWarning
14+
ignore:Support for PEtab2.0.*experimental:UserWarning
1515
ignore:The JAX module is experimental and the API may change in the future.:ImportWarning
1616
# hundreds of SBML <=5.17 warnings
1717
ignore:.*inspect.getargspec\(\) is deprecated.*:DeprecationWarning

python/sdist/amici/de_export.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ def _write_index_files(self, name: str) -> None:
407407
filename = os.path.join(self.model_path, f"{name}.h")
408408
with open(filename, "w") as fileout:
409409
fileout.write("\n".join(lines))
410+
fileout.write("\n")
410411

411412
def _write_function_file(self, function: str) -> None:
412413
"""

0 commit comments

Comments
 (0)