We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c08d84e commit f273d18Copy full SHA for f273d18
nipype/pipeline/engine/nodes.py
@@ -344,13 +344,13 @@ def is_cached(self, rm_outdated=False):
344
345
hashfiles = [hashfile] if cached else []
346
347
- # At this point only one hashfile is in the folder
348
- # and we directly check whether it is updated
349
if not hashfiles:
350
logger.debug('[Node] No hashfiles found in "%s".', outdir)
351
assert(not cached)
352
return False, False
353
+ # At this point only one hashfile is in the folder
+ # and we directly check whether it is updated
354
updated = hashfile == hashfiles[0]
355
if not updated: # Report differences depending on log verbosity
356
cached = True
0 commit comments