Skip to content

Commit 4298707

Browse files
fix for updatehash crash
1 parent bc456dd commit 4298707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/pipeline/engine/nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ def run(self, updatehash=False):
452452
cached, updated = self.is_cached()
453453

454454
# If the node is cached, check on pklz files and finish
455-
if not force_run and (updated or (not updated and updatehash)):
455+
if cached and not force_run and (updated or (not updated and updatehash)):
456456
logger.debug("Only updating node hashes or skipping execution")
457457
inputs_file = op.join(outdir, "_inputs.pklz")
458458
if not op.exists(inputs_file):

0 commit comments

Comments
 (0)