Skip to content

Commit a76ad7f

Browse files
committed
FIX: tuple ordering
1 parent 16e9016 commit a76ad7f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pydra/engine/submitter.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ async def expand_runnable(self, runnable, wait=False, rerun=False):
116116
asyncio.create_task(load_and_run_async(task_pkl, sidx, self, rerun))
117117
)
118118
else:
119-
futures.add(self.worker.run_el((task_pkl, sidx, runnable), rerun=rerun))
119+
futures.add(
120+
self.worker.run_el((sidx, task_pkl, runnable), rerun=rerun)
121+
)
122+
120123

121124
if wait and futures:
122125
# if wait is True, we are at the end of the graph / state expansion.

0 commit comments

Comments
 (0)