Skip to content

physiome.cli

The sbml2cellml-physiome command.

sbml2cellml-physiome run [--models physiome/models.json] [--ids ID,ID]
                         [--count N] [--work-dir physiome/work]
                         [--results FILE] [--report FILE]
                         [--timeout SECONDS] [-v]
sbml2cellml-physiome update [--models physiome/models.json] [--count N] [-v]
sbml2cellml-physiome report --results FILE --output FILE

run runs the pipeline over the models of the selection file (or the exposures of --ids), writes the results and the report and, when the results file exists, prints the regressions and improvements against it. update refreshes the selection from the exposures of the repository. report renders a results file. run and report write the bar diagram next to the report (images/physiome.svg and images/physiome_dark.svg).

The check is run locally, not in continuous integration: it clones the workspaces of the models and simulates each of them three times.

build_parser

build_parser()

Build the argument parser.

Returns:

Type Description
ArgumentParser

The parser with the run, update and report subcommands.

main

main(argv=None)

Run the command.

Parameters:

Name Type Description Default
argv list[str] | None

arguments without the program name, sys.argv[1:] by default.

None

Returns:

Type Description
int

0 on success, 1 on a missing selection or results file, a failed

int

request or a run without cases.