fit.petab_omex¶
COMBINE archives of PEtab v2 problems.
create_petab_omex
¶
Create a COMBINE archive for a PEtab v2 problem.
The YAML file of the PEtab problem is the master entry of the archive, the
models and the tables it references are added relative to the directory of
the YAML file. A problem of PEtab v1 is converted with
petab.v2.petab1to2 first, see sbmlsim.fit.petab_v2.conversion.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
omex_file
|
Path
|
path of the COMBINE archive to write. |
required |
yaml_file
|
Path
|
path of the PEtab YAML file, all other files are relative to it. |
required |
Raises:
| Type | Description |
|---|---|
FileNotFoundError
|
if the YAML file or a referenced file does not exist. |
ValueError
|
if the problem is no problem of PEtab v2. |