Skip to content

Commit a1c0fbd

Browse files
committed
hashfiles is True
1 parent de11e79 commit a1c0fbd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nipype/pipeline/engine/nodes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,8 @@ def hash_exists(self, updatehash=False):
283283
for hf in hashfiles:
284284
os.remove(hf)
285285

286-
if updatehash and len(hashfiles) == 1:
286+
if updatehash:
287287
logger.debug("Updating hash: %s", hashvalue)
288-
os.remove(hashfiles[0])
289288
self._save_hashfile(hashfile, hashed_inputs)
290289

291290
hash_exists = op.exists(hashfile)

0 commit comments

Comments
 (0)