Skip to content

Commit 75b38cb

Browse files
committed
added error condition
1 parent b47b17c commit 75b38cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nipype/pipeline/engine/nodes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,8 @@ def _load_resultfile(self, cwd):
522522
# Was this pickle created with Python 2.x?
523523
pickle.load(pkl_file, fix_imports=True, encoding='utf-8')
524524
logger.warn('Successfully loaded pickle in compatibility mode')
525-
except (traits.TraitError, AttributeError, ImportError) as err:
525+
except (traits.TraitError, AttributeError, ImportError,
526+
EOFError) as err:
526527
if isinstance(err, (AttributeError, ImportError)):
527528
attribute_error = True
528529
logger.debug('attribute error: %s probably using '

0 commit comments

Comments
 (0)