Skip to content

Commit 64a9b7b

Browse files
committed
do not submit updatehash
1 parent 9a99b2f commit 64a9b7b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nipype/pipeline/plugins/multiproc.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,12 @@ def _send_procs_to_workers(self, updatehash=False, graph=None):
309309
self.proc_done[jobid] = True
310310
self.proc_pending[jobid] = True
311311

312-
# If cached just retrieve it, don't run
312+
# If cached and up-to-date just retrieve it, don't run
313313
if self._local_hash_check(jobid, graph):
314314
continue
315315

316-
if self.procs[jobid].run_without_submitting:
316+
# updatehash and run_without_submitting are also run locally
317+
if updatehash or self.procs[jobid].run_without_submitting:
317318
logger.debug('Running node %s on master thread',
318319
self.procs[jobid])
319320
try:

0 commit comments

Comments
 (0)