Skip to content

Commit 99df343

Browse files
committed
Move petab v2 simulation code to amici.sim
Related to #3041. And fix type annotations.
1 parent f4f401f commit 99df343

File tree

6 files changed

+852
-789
lines changed

6 files changed

+852
-789
lines changed

python/sdist/amici/adapters/fiddy.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
from fiddy import CachedFunction, Type, fiddy_array
1818
from petab.v1.C import LIN, LOG, LOG10
1919

20-
from amici.importers.petab import LLH, SLLH
2120
from amici.importers.petab.v1.parameter_mapping import create_parameter_mapping
2221
from amici.sim.sundials import (
2322
AmiciExpData,
@@ -28,7 +27,7 @@
2827
SensitivityOrder,
2928
run_simulation,
3029
)
31-
from amici.sim.sundials.petab.v1._conditions import create_edatas
30+
from amici.sim.sundials.petab.v1 import LLH, SLLH, create_edatas
3231

3332
if TYPE_CHECKING:
3433
from amici.importers.petab import PetabSimulator

python/sdist/amici/importers/petab/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
problems, the relevant classes are:
99
1010
* :class:`PetabImporter`: Import a PEtab problem as an AMICI model.
11-
* :class:`PetabSimulator`: Simulate PEtab problems with AMICI.
12-
* :class:`ExperimentManager`: Create :class:`amici.ExpData` objects for PEtab
13-
experiments.
1411
1512
See :doc:`/examples/example_petab/petab_v2` for example usage.
1613
Note that the PEtab v2 API is still under development and may change in future

0 commit comments

Comments
 (0)