testsuite.cli¶
The sbml2cellml-testsuite command.
sbml2cellml-testsuite run [--cases 00001,00002] [--suite-dir DIR] [--work-dir DIR]
[--results FILE] [--report FILE] [--timeout SECONDS] [-v]
sbml2cellml-testsuite report --results FILE --output FILE
run downloads the suite when no --suite-dir is given, runs the pipeline,
writes the results and the report. report renders a results file. Both write
the bar diagram of the report next to it (images/testsuite.svg and
images/testsuite_dark.svg, see sbml2cellml.testsuite.figure).
build_parser
¶
Build the argument parser.
Returns:
| Type | Description |
|---|---|
ArgumentParser
|
The parser with the |
main
¶
Run the command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
argv
|
list[str] | None
|
arguments without the program name, |
None
|
Returns:
| Type | Description |
|---|---|
int
|
0 on success, 1 on a missing suite or results file. |