Skip to content

PEtab YAML formatting #4

@FFroehlich

Description

@FFroehlich

I identified a couple of issues with the petab files for the test cases

  • all observable ids have the same name as the model entity, which is afaik not valid petab

  • we should use format_version 2.0.0 as mapping tables are not available with 1.0.0

    • change sbml_files to to field model_files with dict language (sbml) and location (file)
    • change mapping_tables attribute to list mapping_files
    • in the mapping table, I would suggest using petab.MODEL_ENTITY_ID (instead of ioId) and petab.PETAB_ENTITY_ID (instead of ioValue). I wouldn't introduce a separate netId column, but rather absorb this into petab.MODEL_ENTITY_ID using a nomenclature such as net1.input1. see Proposal: Different languages for model specification PEtab#538. I am also not sure whether we should make assignments to petab variables in the mapping table (model outputs to petab variables), this should happen in the condition table (which would also be beneficial to specify things like time derivatives etc, see Use somewhat normalized "experiments" table instead of conditions/timecourses PEtab#585).
  • parameter values for neural networks are provided in a separate parameters_nn.tsv file, how about directly creating a proper parameters table where test values are set as nominal values?

Code to implement a majority of the proposed changes is available here https://github.com/AMICI-dev/AMICI/blob/b201f4efc354939ac1b0763c65f2e22507d086c4/tests/sciml/testsuite.py#L177

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions