Skip to content

Commit ea6825e

Browse files
committed
Missed space for separator on optional array command input binding
1 parent 4b4d17c commit ea6825e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wdlgen/task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def get_string(self):
110110
if self.optional:
111111
# Ugly optional workaround: https://github.com/openwdl/wdl/issues/25#issuecomment-315424063
112112
internal_pref = f'if defined({name}) then "{bc}" else ""'
113-
return f'${{{internal_pref}}}${{sep="{bc}" {name}}}'
113+
return f'${{{internal_pref}}}${{sep=" {bc}" {name}}}'
114114
return f'${{sep=" " prefix("{bc}", {name})}}'
115115

116116
options = []

0 commit comments

Comments
 (0)