Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
98ea338
Validate output of R distance function to ensure a single numeric val…
arrjon Dec 23, 2025
00b1c7b
Update pyabc/external/r/r_rpy2.py
arrjon Dec 23, 2025
8947f51
Update CI configuration and dependencies for improved compatibility a…
arrjon Feb 16, 2026
afdc37c
fix doc
arrjon Feb 16, 2026
59806b7
fix doc
arrjon Feb 16, 2026
4086e99
fix deps
arrjon Feb 16, 2026
706dac4
fix deps
arrjon Feb 16, 2026
a6ef2bd
add ruff
arrjon Feb 17, 2026
cb65563
add ruff
arrjon Feb 17, 2026
3ada847
fix ruff
arrjon Feb 17, 2026
1561837
fix ruff
arrjon Feb 17, 2026
50972b2
fix petab
arrjon Feb 17, 2026
9be546b
fix tox
arrjon Feb 17, 2026
53a8278
fix petab test
arrjon Feb 17, 2026
fce4603
update ci
arrjon Feb 17, 2026
a84bbbe
update r dep
arrjon Feb 17, 2026
e508c82
update r dep
arrjon Feb 17, 2026
8f611d1
update r dep
arrjon Feb 17, 2026
3110041
update r dep
arrjon Feb 17, 2026
aab8774
update r dep
arrjon Feb 17, 2026
c91152c
update r dep
arrjon Feb 17, 2026
b26c569
update r dep
arrjon Feb 17, 2026
23901c5
update r dep
arrjon Feb 17, 2026
d2fc5d5
update warnings
arrjon Feb 17, 2026
1030c3e
fix subprocess
arrjon Feb 17, 2026
10d9767
fix r2py
arrjon Feb 17, 2026
22a673d
fix r2py conversion [skip ci]
arrjon Feb 17, 2026
a38c504
fix r2py conversion
arrjon Feb 17, 2026
34e0493
fix petab.v1
arrjon Feb 17, 2026
e7c633d
fix petab.v1
arrjon Feb 17, 2026
f76b207
update toml file
arrjon Feb 17, 2026
1b7aae0
update notebooks
arrjon Feb 17, 2026
29dce1b
remove petabtests
arrjon Feb 17, 2026
3e382e8
remove petabtests
arrjon Feb 17, 2026
3079b89
fix tox
arrjon Feb 17, 2026
d5df51d
update amici dep
arrjon Feb 17, 2026
5180a24
update amici dep
arrjon Feb 17, 2026
f161f16
update amici dep
arrjon Feb 17, 2026
c55d7b2
update notebooks
arrjon Feb 17, 2026
98db9b7
update notebooks 2
arrjon Feb 17, 2026
f606155
annotations in inference_util
arrjon Feb 17, 2026
19a8a67
fix notebooks 2 deps
arrjon Feb 17, 2026
80cbf77
fix notebooks 2 deps
arrjon Feb 17, 2026
a1e3793
fix notebooks 2 deps
arrjon Feb 17, 2026
205d3c3
fix notebooks 2 julia
arrjon Feb 17, 2026
d724e68
fix notebooks 2 julia
arrjon Feb 17, 2026
c8b9d95
fix notebooks 2 julia
arrjon Feb 18, 2026
65e031c
fix notebooks 2 julia
arrjon Feb 18, 2026
625938e
fix notebooks 2 julia
arrjon Feb 18, 2026
891384c
fix notebooks 2 julia
arrjon Feb 18, 2026
716ac3a
check worker health before blocking on queue retrieval
arrjon Feb 18, 2026
437eee7
update distributed for python3.12
arrjon Feb 18, 2026
fcb137a
fix dask for python3.12
arrjon Feb 18, 2026
95f5a26
remove fix dask for python3.12
arrjon Feb 18, 2026
47d3542
fix python3.12 test
arrjon Feb 18, 2026
9dcdde4
fix python3.12 test
arrjon Feb 18, 2026
0193fe6
fix doc contact details [skip ci]
arrjon Feb 18, 2026
85d2f2f
Merge branch 'main' into develop
arrjon Feb 24, 2026
053ec3a
update readme codestyle [skip ci]
arrjon Feb 24, 2026
30ce814
Require amici<1.0
dweindl Feb 25, 2026
73538b2
Merge pull request #660 from ICB-DCM/amici_zero
arrjon Feb 26, 2026
0a6796d
Merge branch 'main' into develop
arrjon Feb 26, 2026
b8cf90f
Merge remote-tracking branch 'origin/develop' into develop
arrjon Feb 26, 2026
4b0e60a
Merge branch 'main' into develop
arrjon Mar 25, 2026
8ed2e00
Update for amici>=1.0 (#663)
dweindl Mar 25, 2026
229ac6c
update deps
arrjon Apr 14, 2026
e00fd9c
update deps
arrjon Apr 14, 2026
b5d185f
update changelog
arrjon Apr 14, 2026
6f596bd
move r deps to external
arrjon Apr 14, 2026
97e83a4
move r deps to external
arrjon Apr 14, 2026
0a9870d
clean install R in CI
arrjon Apr 14, 2026
7d0dea1
update julia deps
arrjon Apr 14, 2026
f48f895
fix julia pycall
arrjon Apr 14, 2026
ee259cb
fix julia pycall
arrjon Apr 14, 2026
e591b94
fix julia pycall
arrjon Apr 14, 2026
5c824bb
update deploy [skip ci]
arrjon Apr 14, 2026
ed7165c
fix R tests
arrjon Apr 14, 2026
0c531cc
fix R tests
arrjon Apr 14, 2026
5f2b297
Update test/base/test_integrated_model.py
arrjon Apr 14, 2026
b01ecd7
Prepare for python3.14 (#666)
arrjon May 28, 2026
80d0fc9
FIX broken docstring (#669)
kilianvolmer Jul 24, 2026
3340ca9
Merge branch 'main' into develop
arrjon Jul 24, 2026
ebebae5
fix multiprocessing context
arrjon Jul 24, 2026
c1777f4
fix multiprocessing context
arrjon Jul 24, 2026
1749237
fix ruff (#672)
arrjon Jul 28, 2026
e4a09cc
Add better time tracking (#668)
arrjon Jul 28, 2026
eb3a02e
Particle weights are now stored using the global normalization (#670)
arrjon Jul 30, 2026
56825d7
prepare 0.13.0
arrjon Jul 30, 2026
57099cb
update tests to 3.14
arrjon Jul 31, 2026
7e84b33
Documentation updates (#674)
kilianvolmer Jul 31, 2026
03d0224
rm conf
arrjon Jul 31, 2026
0de0159
fix broken link
arrjon Aug 31, 2026
1bd4649
fix petab dependencies
arrjon Oct 26, 2026
5600423
Update Bernton et al citation to published paper instead of arxiv (#677)
kilianvolmer Oct 26, 2026
72d64ee
Install petab on rtd (#676)
kilianvolmer Oct 26, 2026
5c0cbe9
Merge branch 'main' into develop
arrjon Oct 26, 2026
3a51bd9
prepare release (#680)
arrjon Oct 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ python:
path: .
extra_requirements:
- doc
- petab

build:
os: "ubuntu-22.04"
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@ Release Notes
0.13 Series
...........

0.13.1 (2026-10-26)
-------------------

Documentation:

* Install the ``petab`` extra on Read the Docs and mock optional PEtab/BasiCO
imports in autodoc, so the PEtab API reference renders.
* Minor documentation improvements.
* Fix broken links and docstring formatting.

Tests:

* Load PEtab benchmark models via ``benchmark_models_petab`` instead of
cloning the benchmark repository.


0.13.0 (2026-07-30)
-------------------

Expand Down
2 changes: 2 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
'sphinxcontrib.jquery',
]

autodoc_mock_imports = ['PEtab', 'BasiCO']

# default autodoc options
# list for special-members seems not to be possible before 1.8
autodoc_default_options = {
Expand Down
6 changes: 3 additions & 3 deletions doc/examples/wasserstein.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyabc/distance/ot.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ class WassersteinDistance(Distance):

.. [#bernton2019]
Bernton, E., Jacob, P.E., Gerber, M. and Robert, C.P.,
2019.
Approximate Bayesian computation with the Wasserstein distance.
arXiv preprint arXiv:1905.03747.
Journal of the Royal Statistical Society Series B: Statistical Methodology, Volume 81, Issue 2, April 2019, Pages 235–269.
https://doi.org/10.1111/rssb.12312.
"""

def __init__(
Expand Down
6 changes: 3 additions & 3 deletions pyabc/petab/amici.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ class AmiciPetabImporter(PetabImporter):
amici_model:
A corresponding compiled AMICI model that allows simulating data for
parameters. If not provided, one is created using
`amici.importers.petab.v1.import_petab_problem`.
:func:`amici.importers.petab.v1.import_petab_problem`.
amici_solver:
An AMICI solver to simulate the model. If not provided, one is created
using `amici_model.create_solver()`.
using ``amici_model.create_solver()``.
"""

def __init__(
Expand Down Expand Up @@ -216,7 +216,7 @@ def create_model(
Whether to return the simulations also (large, can be stored
in database).
return_rdatas:
Whether to return the full `list[amici.sim.sundials.ExpData]`
Whether to return the full ``list[amici.sim.sundials.ExpData]``
objects (large, cannot be stored in database).

Returns
Expand Down
2 changes: 1 addition & 1 deletion pyabc/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.13.0'
__version__ = '0.13.1'
33 changes: 2 additions & 31 deletions test/petab/test_petab.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import itertools
import os
import sys

import benchmark_models_petab
import cloudpickle as pickle
import git
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import petab.v1 as petab
import petab.v1.C as C
import pytest
import scipy.stats
Expand Down Expand Up @@ -285,38 +283,11 @@ def test_get_bounds():
)


benchmark_dir = 'doc/examples/tmp/benchmark-models-petab'


def download_benchmark_repo():
# download archive
if not os.path.exists(benchmark_dir):
git.Repo.clone_from(
'https://github.com/benchmarking-initiative'
'/benchmark-models-petab.git',
benchmark_dir,
depth=1,
)
g = git.Git(benchmark_dir)

# update repo if online
try:
g.pull()
except git.exc.GitCommandError:
pass


def boehm_model_importer():
"""Import Boehm model."""
download_benchmark_repo()

# create problem
model_name = 'Boehm_JProteomeRes2014'
petab_problem = petab.Problem.from_yaml(
os.path.join(
benchmark_dir, 'Benchmark-Models', model_name, model_name + '.yaml'
)
)
petab_problem = benchmark_models_petab.get_problem(model_name)

# compile amici
output_folder = f'amici_models/{model_name}'
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ deps =
commands =
python -m pip install --upgrade pip
# install an old pyabc version
python -m pip install pyabc==0.10.13 numpy==1.23.5 pandas==1.5.0 sqlalchemy==1.4.48
python -m pip install pyabc==0.10.13 numpy==1.23.5 pandas==1.5.0 sqlalchemy==1.4.48 pyarrow<26
python test/migrate/create_test_db.py
# back to latest (this repo)
python -m pip install --upgrade .
Expand Down
Loading