Skip to content

Commit 85f8630

Browse files
committed
FIX: Propagate rerun to state expansion
1 parent 3e7a871 commit 85f8630

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pydra/engine/submitter.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Handle execution backends."""
22
import asyncio
3-
import time
43
from uuid import uuid4
54
from .workers import WORKERS
65
from .core import is_workflow
@@ -64,7 +63,7 @@ async def submit_from_call(self, runnable, rerun):
6463
await runnable._run(self, rerun=rerun)
6564
# 3
6665
else:
67-
await self.expand_runnable(runnable, wait=True)
66+
await self.expand_runnable(runnable, wait=True, rerun=rerun)
6867
runnable._reset()
6968
else:
7069
# 2
@@ -73,7 +72,7 @@ async def submit_from_call(self, runnable, rerun):
7372
await self.worker.run_el(runnable, rerun=rerun)
7473
# 3
7574
else:
76-
await self.expand_runnable(runnable, wait=True)
75+
await self.expand_runnable(runnable, wait=True, rerun=rerun)
7776
return True
7877

7978
async def expand_runnable(self, runnable, wait=False, rerun=False):

0 commit comments

Comments
 (0)