Skip to content

Commit

Permalink
adding an Attribute Error to the exception for get_value
Browse files Browse the repository at this point in the history
  • Loading branch information
djarecka committed Oct 23, 2022
1 parent 4d6a65b commit a12730d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydra/engine/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ def _collect_outputs(self):
try:
val_out = val.get_value(self)
output_wf[name] = val_out
except ValueError:
except (ValueError, AttributeError):
output_wf[name] = None
# checking if the tasks has predecessors that raises error
if isinstance(getattr(self, val.name)._errored, list):
Expand Down

0 comments on commit a12730d

Please sign in to comment.