Skip to content

Commit

Permalink
incrementing biosimulators utils for additional SED-ML validation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed May 27, 2021
1 parent 4a4f0c8 commit 071dbcb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Base OS
FROM continuumio/miniconda3:4.9.2

ARG VERSION=0.1.14
ARG VERSION=0.1.15
ARG SIMULATOR_VERSION="0.9.9"
ARG PYTHON_VERSION=3.9

Expand Down
2 changes: 1 addition & 1 deletion biosimulators_pysces/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1.14'
__version__ = '0.1.15'
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
biosimulators_utils[logging] >= 0.1.65
biosimulators_utils[logging] >= 0.1.73
kisao
pysces
6 changes: 3 additions & 3 deletions tests/test_core_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def test_exec_sed_task_error_handling(self):
),
simulation=sedml_data_model.UniformTimeCourseSimulation(
algorithm=sedml_data_model.Algorithm(
kisao_id='KISAO_0000001',
kisao_id='KISAO_0000437',
changes=[
sedml_data_model.AlgorithmParameterChange(
kisao_id='KISAO_0000209',
Expand Down Expand Up @@ -164,7 +164,7 @@ def test_exec_sed_task_error_handling(self):
core.exec_sed_task(task, variables)
task.simulation.algorithm.kisao_id = 'KISAO_0000088'

task.simulation.algorithm.changes[0].kisao_id = 'KISAO_0000001'
task.simulation.algorithm.changes[0].kisao_id = 'KISAO_0000531'
with self.assertRaisesRegex(NotImplementedError, 'is not supported'):
core.exec_sed_task(task, variables)
task.simulation.algorithm.changes[0].kisao_id = 'KISAO_0000209'
Expand Down Expand Up @@ -224,7 +224,7 @@ def test_exec_sed_task_error_handling(self):
with self.assertWarnsRegex(BioSimulatorsWarning, 'ignored because it is not a valid float'):
core.exec_sed_task(task, variables)

task.simulation.algorithm.changes[0].kisao_id = 'KISAO_9999999'
task.simulation.algorithm.changes[0].kisao_id = 'KISAO_0000531'
with mock.patch.dict('os.environ', {'ALGORITHM_SUBSTITUTION_POLICY': 'NONE'}):
with self.assertRaisesRegex(NotImplementedError, 'is not supported'):
core.exec_sed_task(task, variables)
Expand Down

0 comments on commit 071dbcb

Please sign in to comment.