Skip to content

Commit

Permalink
Merge pull request #17 from biosimulators/fix-error-message
Browse files Browse the repository at this point in the history
Fix error message
  • Loading branch information
luciansmith authored Aug 3, 2023
2 parents 4a6e2ad + ad77184 commit 5426bc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion biosimulators_tellurium/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1.38'
__version__ = '0.1.39'
2 changes: 1 addition & 1 deletion biosimulators_tellurium/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def exec_sed_task(task, variables, preprocessed_task=None, log=None, config=None
if config.VALIDATE_RESULTS and numpy.any(numpy.isnan(results)):
msg = 'Simulation failed with algorithm `{}` ({})'.format(
preprocessed_task.algorithm_kisao_ids[task.id],
KISAO_ALGORITHM_MAP[preprocessed_task.algorithm_kisao_id[task.id]]['id'])
KISAO_ALGORITHM_MAP[preprocessed_task.algorithm_kisao_ids[task.id]]['id'])
for i_param in range(preprocessed_task.solvers[task.id].getNumParams()):
param_name = preprocessed_task.solvers[task.id].getParamName(i_param)
msg += '\n - {}: {}'.format(param_name, getattr(preprocessed_task.solvers[task.id], param_name))
Expand Down

0 comments on commit 5426bc7

Please sign in to comment.