From a323d5e3e018b814c8e1e3588dd940779cbae9e4 Mon Sep 17 00:00:00 2001 From: Logan Drescher Date: Fri, 4 Oct 2024 08:47:37 -0400 Subject: [PATCH] debugger hangs on this statement, so using different iteration method --- biosimulators_utils/sedml/exec.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/biosimulators_utils/sedml/exec.py b/biosimulators_utils/sedml/exec.py index a0953204..02b0507d 100644 --- a/biosimulators_utils/sedml/exec.py +++ b/biosimulators_utils/sedml/exec.py @@ -165,7 +165,8 @@ def exec_task(task, variables, preprocessed_task=None, log=None, config=None, ** ' ' * 2 * (indent + 2), ('\n' + ' ' * 2 * (indent + 2)).join(sorted('`' + output.id + '`' for output in doc.outputs)), )) - for i_task, task in enumerate(expected_tasks): + for i_task in range(0, len(expected_tasks)): + task = expected_tasks[i_task] task_status = Status.QUEUED task_exception = None print('{}Executing task {}: `{}`'.format(' ' * 2 * indent, i_task + 1, task.id))