Skip to content

Commit f56a237

Browse files
committed
updating to biosimulators-utils 0.1.95
1 parent 2c8932b commit f56a237

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
FROM python:3.9-slim-buster
2424

25-
ARG VERSION="0.1.10"
25+
ARG VERSION="0.1.11"
2626
ARG SIMULATOR_VERSION=2.6.0
2727

2828
# metadata

biosimulators_bionetgen/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.1.10'
1+
__version__ = '0.1.11'

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
biosimulators_utils[bngl,logging] >= 0.1.83
1+
biosimulators_utils[bngl,logging] >= 0.1.95
22
kisao
33
pandas

tests/test_core_main.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,13 @@ def _build_combine_archive(self, algorithm=None):
132132
sim_filename = os.path.join(archive_dirname, 'sim_1.sedml')
133133
SedmlSimulationWriter().run(doc, sim_filename)
134134

135-
updated = datetime.datetime(2020, 1, 2, 1, 2, 3, tzinfo=dateutil.tz.tzutc())
136135
archive = combine_data_model.CombineArchive(
137136
contents=[
138137
combine_data_model.CombineArchiveContent(
139-
'model_1.bngl', combine_data_model.CombineArchiveContentFormat.BNGL.value, updated=updated),
138+
'model_1.bngl', combine_data_model.CombineArchiveContentFormat.BNGL.value),
140139
combine_data_model.CombineArchiveContent(
141-
'sim_1.sedml', combine_data_model.CombineArchiveContentFormat.SED_ML.value, updated=updated),
140+
'sim_1.sedml', combine_data_model.CombineArchiveContentFormat.SED_ML.value),
142141
],
143-
updated=updated,
144142
)
145143
archive_filename = os.path.join(self.dirname,
146144
'archive.omex' if algorithm is None else 'archive-{}.omex'.format(algorithm.kisao_id))

tests/test_utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ def test_get_parameters_variables_for_simulation(self):
259259
os.path.join(fixtures_dirname, 'test.bngl'),
260260
os.path.join(fixtures_dirname, 'LR_comp_resolved.bngl'),
261261
]:
262-
changes, variables = get_parameters_variables_for_simulation(model_filename, None, None, None)
262+
changes, sim, variables = get_parameters_variables_for_simulation(
263+
model_filename, None, UniformTimeCourseSimulation, None)
263264

264265
task = read_task(model_filename)
265266
task.actions = []
@@ -272,7 +273,8 @@ def test_get_parameters_variables_for_simulation(self):
272273
model_filename_2 = os.path.join(self.dirname, 'task.bngl')
273274
write_task(task, model_filename_2)
274275

275-
changes_2, variables_2 = get_parameters_variables_for_simulation(model_filename_2, None, None, None)
276+
changes_2, sim, variables_2 = get_parameters_variables_for_simulation(
277+
model_filename_2, None, UniformTimeCourseSimulation, None)
276278
for change, change_2 in zip(changes, changes_2):
277279
self.assertTrue(change_2.is_equal(change))
278280
for variable, variable_2 in zip(variables, variables_2):

0 commit comments

Comments
 (0)