Skip to content

Commit 4cda6c7

Browse files
authored
Merge pull request #2667 from dweindl/release_0.31.1
Release 0.31.1
2 parents f742e48 + adf87c4 commit 4cda6c7

File tree

119 files changed

+221
-192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+221
-192
lines changed

.github/workflows/deploy_branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
sdist:
66
name: Deploy Python Source Distribution
77

8-
runs-on: ubuntu-22.04
8+
runs-on: ubuntu-24.04
99

1010
strategy:
1111
matrix:

.github/workflows/deploy_protected.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
name: Deploy Docker Hub
3333
needs: [check-secret]
3434
if: needs.check-secret.outputs.secrets-defined == 'true'
35-
runs-on: ubuntu-22.04
35+
runs-on: ubuntu-24.04
3636

3737
strategy:
3838
matrix:

.github/workflows/deploy_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
pypi:
99
name: Deploy PyPI
1010

11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-24.04
1212

1313
strategy:
1414
matrix:
@@ -47,7 +47,7 @@ jobs:
4747
bioSimulatorsUpdateCliAndDockerImage:
4848
name: Release to BioSimulators
4949
needs: pypi
50-
runs-on: ubuntu-22.04
50+
runs-on: ubuntu-24.04
5151
env:
5252
# Owner/repository-id for the GitHub repository for the downstream command-line interface and Docker image
5353
DOWNSTREAM_REPOSITORY: biosimulators/Biosimulators_AMICI
@@ -72,7 +72,7 @@ jobs:
7272
7373
dockerhub:
7474
name: Release to Docker Hub
75-
runs-on: ubuntu-22.04
75+
runs-on: ubuntu-24.04
7676

7777
steps:
7878
- name: Set up Python

.github/workflows/test_benchmark_collection_models.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
build:
1818
name: Benchmark Collection
1919

20-
runs-on: ubuntu-22.04
20+
runs-on: ubuntu-24.04
2121

2222
strategy:
2323
fail-fast: false
@@ -77,7 +77,7 @@ jobs:
7777
uses: codecov/codecov-action@v5
7878
with:
7979
token: ${{ secrets.CODECOV_TOKEN }}
80-
file: coverage_py.xml
80+
files: coverage_py.xml
8181
flags: python
8282
fail_ci_if_error: true
8383
verbose: true

.github/workflows/test_doc.yml

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

4040
sphinx:
4141
name: Test Sphinx
42-
runs-on: ubuntu-22.04
42+
runs-on: ubuntu-24.04
4343

4444
strategy:
4545
matrix:

.github/workflows/test_install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
archive:
66
name: Archive Install
77

8-
runs-on: ubuntu-22.04
8+
runs-on: ubuntu-24.04
99

1010
strategy:
1111
matrix:
@@ -46,7 +46,7 @@ jobs:
4646
sdist_ubuntu:
4747
name: sdist Install Ubuntu
4848

49-
runs-on: ubuntu-22.04
49+
runs-on: ubuntu-24.04
5050

5151
strategy:
5252
matrix:

.github/workflows/test_matlab.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
matlab:
1313
name: Matlab
1414

15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-22.04
1616

1717
steps:
1818
- uses: actions/checkout@v4

.github/workflows/test_performance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
build:
2020
name: Performance Test
2121

22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-24.04
2323

2424
strategy:
2525
matrix:

.github/workflows/test_petab_test_suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,6 @@ jobs:
104104
uses: codecov/codecov-action@v5
105105
with:
106106
token: ${{ secrets.CODECOV_TOKEN }}
107-
file: coverage.xml
107+
files: coverage.xml
108108
flags: petab
109109
fail_ci_if_error: true

.github/workflows/test_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
python-version: ["3.10", "3.11", "3.12"]
15-
os: [ubuntu-22.04, macos-latest]
15+
os: [ubuntu-24.04, macos-latest]
1616

1717
runs-on: ${{ matrix.os }}
1818

.github/workflows/test_python_cplusplus.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
ubuntu-cpp-python-tests:
1313
name: C++/Python tests Ubuntu
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04
1515

1616
strategy:
1717
matrix:
@@ -82,7 +82,7 @@ jobs:
8282
uses: codecov/codecov-action@v5
8383
with:
8484
token: ${{ secrets.CODECOV_TOKEN }}
85-
file: build/coverage_py.xml
85+
files: build/coverage_py.xml
8686
flags: python
8787
fail_ci_if_error: true
8888
verbose: true
@@ -102,7 +102,7 @@ jobs:
102102
uses: codecov/codecov-action@v5
103103
with:
104104
token: ${{ secrets.CODECOV_TOKEN }}
105-
file: coverage.info
105+
files: coverage.info
106106
flags: cpp
107107
fail_ci_if_error: true
108108

@@ -118,7 +118,7 @@ jobs:
118118
119119
ubuntu-python-tests:
120120
name: Python tests Ubuntu
121-
runs-on: ubuntu-22.04
121+
runs-on: ubuntu-24.04
122122

123123
strategy:
124124
matrix:
@@ -164,7 +164,7 @@ jobs:
164164
uses: codecov/codecov-action@v5
165165
with:
166166
token: ${{ secrets.CODECOV_TOKEN }}
167-
file: build/coverage_py.xml
167+
files: build/coverage_py.xml
168168
flags: python
169169
fail_ci_if_error: true
170170
verbose: true
@@ -184,7 +184,7 @@ jobs:
184184
uses: codecov/codecov-action@v5
185185
with:
186186
token: ${{ secrets.CODECOV_TOKEN }}
187-
file: coverage.info
187+
files: coverage.info
188188
flags: cpp_python
189189
fail_ci_if_error: true
190190

@@ -201,7 +201,7 @@ jobs:
201201
202202
ubuntu-notebook-tests:
203203
name: Notebook tests Ubuntu
204-
runs-on: ubuntu-22.04
204+
runs-on: ubuntu-24.04
205205

206206
strategy:
207207
matrix:

.github/workflows/test_python_ver_matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
build:
1717
name: Python Version Matrix
1818

19-
runs-on: ubuntu-22.04
19+
runs-on: ubuntu-24.04
2020
continue-on-error: ${{ matrix.experimental }}
2121
env:
2222
AMICI_SKIP_CMAKE_TESTS: "TRUE"

.github/workflows/test_sbml_semantic_test_suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
jobs:
2323
build:
2424
name: SBML Semantic Test Suite
25-
runs-on: ubuntu-22.04
25+
runs-on: ubuntu-24.04
2626

2727
strategy:
2828
fail-fast: false

.github/workflows/test_valgrind.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
valgrind_cpp:
1616
name: Valgrind C++
17-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-24.04
1818

1919
strategy:
2020
matrix:
@@ -29,7 +29,16 @@ jobs:
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131

32-
- uses: actions/checkout@v4
32+
- name: Checkout code (scheduled)
33+
if: github.event_name == 'schedule'
34+
uses: actions/checkout@v4
35+
with:
36+
ref: develop
37+
38+
- name: Checkout code (manual, push, pull request)
39+
if: github.event_name != 'schedule'
40+
uses: actions/checkout@v4
41+
3342
- run: git fetch --prune --unshallow
3443

3544
- name: Install apt dependencies
@@ -53,7 +62,7 @@ jobs:
5362
valgrind_python:
5463
name: Valgrind Python
5564

56-
runs-on: ubuntu-22.04
65+
runs-on: ubuntu-24.04
5766

5867
strategy:
5968
matrix:

.readthedocs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ version: 2
88
# Build documentation in the docs/ directory with Sphinx
99
sphinx:
1010
builder: html
11-
configuration: documentation/conf.py
11+
configuration: doc/conf.py
1212
fail_on_warning: True
1313

1414
formats:
1515
- pdf
1616

1717
python:
1818
install:
19-
- requirements: documentation/rtd_requirements.txt
19+
- requirements: doc/rtd_requirements.txt
2020
build:
21-
os: "ubuntu-22.04"
21+
os: "ubuntu-24.04"
2222
apt_packages:
2323
- libatlas-base-dev
2424
- libhdf5-serial-dev

CHANGELOG.md

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

55
## v0.X Series
66

7+
### v0.31.1 (2025-03-21)
8+
9+
Bugfix-only release.
10+
11+
* Handle relational operators in SBML import
12+
by @dweindl in https://github.com/AMICI-dev/AMICI/pull/2652
13+
14+
**Full Changelog**: https://github.com/AMICI-dev/AMICI/compare/v0.31.0...v0.31.1
15+
716
### v0.31.0 (2025-02-18)
817

918
* Added `RDataReporting::observables_likelihood` for computing observables,

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<img src="https://raw.githubusercontent.com/AMICI-dev/AMICI/master/documentation/gfx/banner.png" height="60" align="left" alt="AMICI logo">
1+
<img src="https://raw.githubusercontent.com/AMICI-dev/AMICI/master/doc/gfx/banner.png" height="60" align="left" alt="AMICI logo">
22

33
## Advanced Multilanguage Interface for CVODES and IDAS
44

@@ -73,7 +73,7 @@ are derived symbolically and C++ code is generated. This code is then
7373
compiled into a C++ library, a Python module, or a Matlab `.mex` file and
7474
is then used for model simulation.
7575

76-
![AMICI workflow](https://raw.githubusercontent.com/AMICI-dev/AMICI/master/documentation/gfx/amici_workflow.png)
76+
![AMICI workflow](https://raw.githubusercontent.com/AMICI-dev/AMICI/master/doc/gfx/amici_workflow.png)
7777

7878
## Getting started
7979

@@ -86,8 +86,8 @@ There are also instructions for using AMICI inside
8686
[containers](https://github.com/AMICI-dev/AMICI/tree/master/container).
8787

8888
To get you started with Python-AMICI, the best way might be checking out this
89-
[Jupyter notebook](https://github.com/AMICI-dev/AMICI/blob/master/documentation/GettingStarted.ipynb)
90-
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/AMICI-dev/AMICI/develop?labpath=documentation%2FGettingStarted.ipynb).
89+
[Jupyter notebook](https://github.com/AMICI-dev/AMICI/blob/master/doc/examples/getting_started/GettingStarted.ipynb)
90+
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/AMICI-dev/AMICI/develop?labpath=doc%2Fexamples%2Fgetting_started%2FGettingStarted.ipynb).
9191

9292
To get started with Matlab-AMICI, various examples are available
9393
in [matlab/examples/](https://github.com/AMICI-dev/AMICI/tree/master/matlab/examples).
@@ -147,11 +147,11 @@ When using AMICI in your project, please cite
147147
```
148148

149149
When presenting work that employs AMICI, feel free to use one of the icons in
150-
[documentation/gfx/](https://github.com/AMICI-dev/AMICI/tree/master/documentation/gfx),
150+
[doc/gfx/](https://github.com/AMICI-dev/AMICI/tree/master/doc/gfx),
151151
which are available under a
152-
[CC0](https://github.com/AMICI-dev/AMICI/tree/master/documentation/gfx/LICENSE.md)
152+
[CC0](https://github.com/AMICI-dev/AMICI/tree/master/doc/gfx/LICENSE.md)
153153
license:
154154

155155
<p align="center">
156-
<img src="https://raw.githubusercontent.com/AMICI-dev/AMICI/master/documentation/gfx/logo_text.png" height="75" alt="AMICI Logo">
156+
<img src="https://raw.githubusercontent.com/AMICI-dev/AMICI/master/doc/gfx/logo_text.png" height="75" alt="AMICI Logo">
157157
</p>

binder/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:24.04
22

33
# install dependencies
44

binder/overview.ipynb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,39 @@
88
"source": [
99
"# AMICI example notebooks\n",
1010
"\n",
11-
"* [Getting started](../documentation/GettingStarted.ipynb)\n",
11+
"* [Getting started](../doc/examples/getting_started/GettingStarted.ipynb)\n",
1212
"\n",
1313
" Brief intro to AMICI for first-time users.\n",
1414
"\n",
15-
"* [SBML import, observation model, sensitivity analysis, data export and visualization](../python/examples/example_steadystate/ExampleSteadystate.ipynb)\n",
15+
"* [SBML import, observation model, sensitivity analysis, data export and visualization](../doc/examples/getting_started_extended/GettingStartedExtended.ipynb)\n",
1616
"\n",
1717
" A more detailed introduction to the AMICI interface, demonstrating sensitivity analysis, various options, finite difference checks, ...\n",
1818
"\n",
19-
"* [PEtab import / simulation](../python/examples/example_petab/petab.ipynb)\n",
19+
"* [PEtab import / simulation](../doc/examples/example_petab/petab.ipynb)\n",
2020
"\n",
2121
" How to import and simulate PEtab problems.\n",
2222
"\n",
23-
"* [Experimental conditions](../python/examples/example_presimulation/ExampleExperimentalConditions.ipynb)\n",
23+
"* [Experimental conditions](../doc/examples/example_presimulation/ExampleExperimentalConditions.ipynb)\n",
2424
"\n",
2525
" How to represent different experimental conditions in AMICI and how to use preequilibration.\n",
2626
"\n",
27-
"* [Steadystate (sensitivities)](../python/examples/example_constant_species/ExampleEquilibrationLogic.ipynb)\n",
27+
"* [Steadystate (sensitivities)](../doc/examples/example_steady_states/ExampleEquilibrationLogic.ipynb)\n",
2828
"\n",
2929
" Describes and demonstrates the various algorithms for computing steady states and steady-state sensitivities.\n",
3030
"\n",
31-
"* [Simulation errors](../python/examples/example_errors.ipynb)\n",
31+
"* [Simulation errors](../doc/examples/example_errors.ipynb)\n",
3232
"\n",
3333
" Demonstrates common simulation failures and gives some hints for interpreting, debugging, and fixing them.\n",
3434
"\n",
35-
"* [Interfacing JAX](../python/examples/example_jax/ExampleJax.ipynb)\n",
35+
"* [Interfacing JAX](../doc/examples/example_jax/ExampleJax.ipynb)\n",
3636
"\n",
3737
" Provides guidance on how to combine AMICI with differential programming frameworks such as JAX.\n",
3838
"\n",
39-
"* [Efficient spline interpolation](../python/examples/example_splines/ExampleSplines.ipynb)\n",
39+
"* [Efficient spline interpolation](../doc/examples/example_splines/ExampleSplines.ipynb)\n",
4040
"\n",
41-
" Shows how to add annotated spline formulas to existing SBML models in order to speed up AMICI's model import.\n",
41+
" Shows how to add annotated spline formulas to existing SBML models to speed up AMICI's model import.\n",
4242
"\n",
43-
"* [A real-world application of splines](../python/examples/example_splines_swameye/ExampleSplinesSwameye2003.ipynb)\n",
43+
"* [A real-world application of splines](../doc/examples/example_splines_swameye/ExampleSplinesSwameye2003.ipynb)\n",
4444
"\n",
4545
" An illustration of how to apply AMICI's spline functionalities to parameter estimation for a reaction network.\n"
4646
]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

documentation/MATLAB_.md renamed to doc/MATLAB_.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,11 @@ from within Matlab. This not quite comfortable yet, but it is possible.
191191
Here for proof of concept:
192192

193193
* Install the python package as described in the documentation
194-
* Ensure `pyversion` shows the correct python version (3.6 or 3.7)
194+
* Ensure `pyversion` shows the correct python version (>= 3.10)
195195
* Then, from within the AMICI `matlab/` directory:
196196

197197
```
198-
sbml_importer = py.amici.SbmlImporter('../python/examples/example_steadystate/model_steadystate_scaled.xml')
198+
sbml_importer = py.amici.SbmlImporter('../doc/examples/getting_started/model_steadystate_scaled.xml')
199199
sbml_importer.sbml2amici('steadystate', 'steadystate_example_from_python')
200200
model = py.steadystate.getModel()
201201
solver = model.getSolver()
File renamed without changes.

0 commit comments

Comments
 (0)