Repository: biosimulators/Biosimulators_test_suite (language: python)

Issue:
invalid test suite published model template
The test case published_project.SimulatorCanExecutePublishedProject:sbml-core/Parmar-BMC-Syst-Biol-2017-iron-distribution requests an invalid algorithm [KISAO_000019; non-existent], apparently a typo [should be KISAO_0000019; CVODE].  Thus any simulator will skip.


Discussion / hints:

Fix patch:
diff --git a/examples/sbml-core/Parmar-BMC-Syst-Biol-2017-iron-distribution.omex b/examples/sbml-core/Parmar-BMC-Syst-Biol-2017-iron-distribution.omex
index 52d779d..bab8f0e 100644
Binary files a/examples/sbml-core/Parmar-BMC-Syst-Biol-2017-iron-distribution.omex and b/examples/sbml-core/Parmar-BMC-Syst-Biol-2017-iron-distribution.omex differ
diff --git a/examples/sbml-core/Parmar-BMC-Syst-Biol-2017-iron-distribution/expected-results.json b/examples/sbml-core/Parmar-BMC-Syst-Biol-2017-iron-distribution/expected-results.json
index 00e7273..0d908d9 100644
--- a/examples/sbml-core/Parmar-BMC-Syst-Biol-2017-iron-distribution/expected-results.json
+++ b/examples/sbml-core/Parmar-BMC-Syst-Biol-2017-iron-distribution/expected-results.json
@@ -4,7 +4,7 @@
   "taskRequirements": [{
     "modelFormat": "format_2585",
     "modelFormatFeatures": [],
-    "simulationAlgorithm": "KISAO_000019"
+    "simulationAlgorithm": "KISAO_0000019"
   }],
   "skippedSimulators": [],
   "expectedReports": [{


Test patch:
diff --git a/tests/test_exec_cli.py b/tests/test_exec_cli.py
index c4d5c33..7b652af 100644
--- a/tests/test_exec_cli.py
+++ b/tests/test_exec_cli.py
@@ -35,7 +35,7 @@ def test_passes(self):
                     task_requirements=[
                         biosimulators_test_suite.data_model.SedTaskRequirements(
                             model_format='format_2585',
-                            simulation_algorithm='KISAO_000019',
+                            simulation_algorithm='KISAO_0000019',
                         )
                     ],
                 ),
@@ -65,7 +65,7 @@ def find_cases(ids=None, results=results):
                     'case': {
                         'id': 'case-id',
                         'description': ('Required model formats and simulation algorithms for SED tasks:\n\n'
-                                        '* Format: `format_2585`\n  Algorithm: `KISAO_000019`'),
+                                        '* Format: `format_2585`\n  Algorithm: `KISAO_0000019`'),
                     },
                     'resultType': 'passed',
                     'duration': 1.,
@@ -89,7 +89,7 @@ def test_warnings(self):
                     task_requirements=[
                         biosimulators_test_suite.data_model.SedTaskRequirements(
                             model_format='format_2585',
-                            simulation_algorithm='KISAO_000019',
+                            simulation_algorithm='KISAO_0000019',
                         )
                     ],
                 ),
@@ -122,7 +122,7 @@ def test_failed(self):
                     task_requirements=[
                         biosimulators_test_suite.data_model.SedTaskRequirements(
                             model_format='format_2585',
-                            simulation_algorithm='KISAO_000019',
+                            simulation_algorithm='KISAO_0000019',
                         )
                     ],
                 ),