Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test suite results and improved table formatting #80

Merged
merged 4 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions SBML/tests/results_compatibility_biosimulators.md

Large diffs are not rendered by default.

821 changes: 0 additions & 821 deletions SBML/tests/test_compatibility_biosimulators.ipynb

This file was deleted.

6 changes: 6 additions & 0 deletions test_suite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ The `process_test_suite.py` script provides various command-line options to cust
**Usage:** `--limit <number>`
**Default:** `0` (no limit)

`--cases`
**Description:** list specific cases to process
**Usage:** `--cases <list>`
**Default:** `[]` (no limit)


- `--suite-path`
**Description:** Specifies the path to the directory containing the test suite files.
**Usage:** `--suite-path <path>`
Expand Down
13 changes: 11 additions & 2 deletions test_suite/process_test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ def parse_arguments():
help="Limit to the first n test cases, 0 means no limit",
)

parser.add_argument(
"--cases",
action="extend",
nargs="+",
type=str,
default=[],
help="Limit to the cases listed in the file. Empty list means no limit",
)

parser.add_argument(
"--suite-path",
action="store",
Expand Down Expand Up @@ -116,8 +125,8 @@ def process_cases(args):
matplotlib.use("agg")
# Suppress specific UserWarning caused by matplotlib (required to suppress interactive plots)
warnings.filterwarnings("ignore", category=UserWarning, message="FigureCanvasAgg is non-interactive, and thus cannot be shown")
subfolders = os.listdir(suite_path_abs) if args.limit == 0 else os.listdir(suite_path_abs)[:args.limit]
subfolders = os.listdir(suite_path_abs) if args.limit == 0 else os.listdir(suite_path_abs)[:args.limit]

for subfolder in subfolders:
# if sbml_level_version is empty string (default), find the highest level and version in the folder
if args.sbml_level_version == "highest":
Expand Down
Binary file removed test_suite/test_00001/00001-sbml-l3v2-sedml.omex
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_local/amici_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_local/bionetgen_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_local/boolnet_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_local/cbmpy_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_local/cobrapy_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_local/copasi_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_local/gillespy2_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_local/ginsim_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_local/libsbmlsim_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_local/masspy_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_local/pysces_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_local/rbapy_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_local/tellurium_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_remote/amici_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_remote/bionetgen_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_remote/boolnet_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_remote/cbmpy_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_remote/cobrapy_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_remote/copasi_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_remote/gillespy2_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_remote/ginsim_plot_1.pdf
Binary file not shown.
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_remote/masspy_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_remote/pysces_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_remote/rbapy_plot_1.pdf
Binary file not shown.
Binary file modified test_suite/test_00001/tests/d1_plots_remote/tellurium_plot_1.pdf
Binary file not shown.
46 changes: 23 additions & 23 deletions test_suite/test_00001/tests/results_compatibility_biosimulators.md

Large diffs are not rendered by default.

107 changes: 107 additions & 0 deletions test_suite/test_00001/tests/results_local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"amici": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"brian2": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"bionetgen": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"boolnet": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"cbmpy": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"cobrapy": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"copasi": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"gillespy2": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"ginsim": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"libsbmlsim": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"masspy": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"netpyne": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"neuron": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"opencor": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"pyneuroml": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"pysces": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"rbapy": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"smoldyn": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"tellurium": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"vcell": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
},
"xpp": {
"exception_message": "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')",
"log_yml": {},
"detailed_error_log": {}
}
}
Loading
Loading