Skip to content

Commit

Permalink
Merge pull request #592 from djarecka/fix/out_error
Browse files Browse the repository at this point in the history
adding an Attribute Error to the exception for get_value
  • Loading branch information
djarecka authored Oct 23, 2022
2 parents 4d6a65b + a12730d commit f72193e
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 f72193e

Please sign in to comment.