Skip to content

Commit 0a0b92f

Browse files
dweindldilpath
andauthored
v2: Add experiments->events converter (#387)
Add functionality to convert PEtab v2 experiments/conditions to SBML events. This should make it easier to implement v2 support in other tools. All condition table changes are converted to event assignments. Only two indicator variables have to be set for each experiment. Closes #370. --------- Co-authored-by: Dilan Pathirana <[email protected]>
1 parent 314c495 commit 0a0b92f

File tree

7 files changed

+554
-1
lines changed

7 files changed

+554
-1
lines changed

doc/modules.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ API Reference
3232
petab.v1.yaml
3333
petab.v2
3434
petab.v2.C
35+
petab.v2.converters
3536
petab.v2.core
3637
petab.v2.experiments
3738
petab.v2.lint

petab/v2/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
models, # noqa: F401, E402
3838
)
3939
from .conditions import * # noqa: F403, F401, E402
40+
from .core import * # noqa: F401, E402
4041
from .experiments import ( # noqa: F401, E402
4142
get_experiment_df,
4243
write_experiment_df,

0 commit comments

Comments
 (0)