Skip to content

Commit c03825c

Browse files
authored
Add id field (#646)
It is often convenient to have some string to identify a given PEtab problem. Previously, we usually used the model ID in such situations. However, often we have multiple problems based on the same model but different datasets, and this doesn't work well in the case of multiple models. Therefore, we add an optional `id` field to the PEtab problem schema.
1 parent d1fa1af commit c03825c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

doc/v2/_static/petab_schema_v2.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ properties:
1414

1515
description: Version of the PEtab format
1616

17+
id:
18+
type: string
19+
description: |
20+
Identifier of the PEtab problem.
21+
22+
This is optional and has no effect on the PEtab problem itself.
23+
pattern: "^[a-zA-Z_]\\w*$"
24+
1725
parameter_files:
1826
type: array
1927
description: |

0 commit comments

Comments
 (0)