We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c279537 commit af54f3dCopy full SHA for af54f3d
pydra/compose/base/helpers.py
@@ -66,8 +66,8 @@ def ensure_field_objects(
66
)
67
else:
68
arg.name = input_name
69
- if not arg.help and input_helps:
70
- arg.help = input_helps.get(input_name, "")
+ if not arg.help:
+ arg.help = input_helps.get(input_name, "") if input_helps else ""
71
elif is_type(arg):
72
inputs[input_name] = arg_type(
73
type=arg,
@@ -100,8 +100,8 @@ def ensure_field_objects(
100
101
102
out.name = output_name
103
- if not out.help and output_helps:
104
- out.help = output_helps.get(output_name, "")
+ if not out.help:
+ out.help = output_helps.get(output_name, "") if output_helps else ""
105
elif is_type(out):
106
outputs[output_name] = out_type(
107
type=out,
0 commit comments