Skip to content

Commit 267a90c

Browse files
committed
Ensure inputs are indented with 2 'tabs' (spaces)
1 parent 6d0a758 commit 267a90c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wdlgen/workflow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ def get_string(self):
5151
for i in self.inputs:
5252
wd = i.get_string()
5353
if isinstance(wd, list):
54-
ins.extend(tb + ii for ii in wd)
54+
ins.extend(2 * tb + ii for ii in wd)
5555
else:
56-
ins.append(tb + wd)
56+
ins.append(2 * tb + wd)
5757
inputs_block = f"{tb}input {{\n" + "\n".join(ins) + f"\n{tb}}}"
5858

5959
if self.outputs:

0 commit comments

Comments
 (0)