Skip to content

Commit bad613a

Browse files
committed
more descriptive message for collect_addition_outputs type unsupported error
1 parent 7fd0848 commit bad613a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pydra/engine/specs.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,10 @@ def collect_additional_outputs(self, inputs, output_dir, outputs):
456456
str,
457457
list,
458458
]:
459-
raise Exception("not implemented (collect_additional_output)")
459+
raise Exception(
460+
f"Support for {fld.type} type, required for {fld.name} in {self}, "
461+
"has not been implemented in collect_additional_output"
462+
)
460463
# assuming that field should have either default or metadata, but not both
461464
if (
462465
fld.default is None or fld.default == attr.NOTHING

0 commit comments

Comments
 (0)