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 e206f3d commit 26b662fCopy full SHA for 26b662f
nipype/utils/filemanip.py
@@ -700,7 +700,7 @@ def loadpkl(infile):
700
fmlogger.debug('Loading pkl: %s', infile)
701
pklopen = gzip.open if infile.suffix == '.pklz' else open
702
703
- with SoftFileLock('%s.lock' % infile.name):
+ with SoftFileLock('%s.lock' % infile):
704
with pklopen(str(infile), 'rb') as pkl_file:
705
pkl_contents = pkl_file.read()
706
0 commit comments