Skip to content

Commit

Permalink
keep multiprocess with updatehash=True
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriliogenovese committed Jan 19, 2025
1 parent 3e55598 commit 88e30f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nipype/pipeline/plugins/multiproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,9 @@ def _send_procs_to_workers(self, updatehash=False, graph=None):
if self._local_hash_check(jobid, graph):
continue

cached, updated = self.procs[jobid].is_cached()
# updatehash and run_without_submitting are also run locally
if updatehash or self.procs[jobid].run_without_submitting:
if (cached and updatehash and not updated) or self.procs[jobid].run_without_submitting:
logger.debug("Running node %s on master thread", self.procs[jobid])
try:
self.procs[jobid].run(updatehash=updatehash)
Expand Down

0 comments on commit 88e30f8

Please sign in to comment.