I was expecting that the format sub-command would keep all comment lines (with whitespace added or removed to the left of the comment), but I'm seeing some comments get stripped out:
$ cat comment.wdl
version 1.0
workflow my_work {
input{
# first comment
String foobar
}
Int num = 1
# second comment
}
$ wdltools check comment.wdl
$ wdltools format comment.wdl
comment.wdl
version 1.0
workflow my_work {
input {
# first comment
String foobar
}
Int num = 1
}
$
I was expecting that the format sub-command would keep all comment lines (with whitespace added or removed to the left of the comment), but I'm seeing some comments get stripped out: