Skip to content

Commit a12730d

Browse files
committed
adding an Attribute Error to the exception for get_value
1 parent 4d6a65b commit a12730d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydra/engine/core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ def _collect_outputs(self):
12141214
try:
12151215
val_out = val.get_value(self)
12161216
output_wf[name] = val_out
1217-
except ValueError:
1217+
except (ValueError, AttributeError):
12181218
output_wf[name] = None
12191219
# checking if the tasks has predecessors that raises error
12201220
if isinstance(getattr(self, val.name)._errored, list):

0 commit comments

Comments
 (0)