Skip to content

Commit 75ce23d

Browse files
daniel-geeffigies
andauthored
Update nipype/pipeline/engine/utils.py
Co-Authored-By: Chris Markiewicz <[email protected]>
1 parent c100772 commit 75ce23d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/pipeline/engine/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def load_resultfile(results_file, resolve=True):
291291
raise FileNotFoundError(results_file)
292292

293293
result = loadpkl(results_file)
294-
if resolve and hasattr(result,"outputs") and result.outputs:
294+
if resolve and getattr(result, "outputs", None):
295295
try:
296296
outputs = result.outputs.get()
297297
except TypeError: # This is a Bunch

0 commit comments

Comments
 (0)