wdl icon indicating copy to clipboard operation
wdl copied to clipboard

make 'input:' optional in call body

Open mlin opened this issue 2 years ago • 3 comments

Just scratching a holiday itch....the input: heading in call bodies is useless clutter AFAICT. Make it optional (for backwards compatibility).

Perhaps the idea was for call bodies to have additional sections (e.g. runtime: for workflow-level overrides). Those could still be added in the future, whilst keeping input: implied if not present.

Checklist

  • [x] Pull request details were added to CHANGELOG.md

mlin avatar Dec 27 '22 10:12 mlin

I like this idea. Less is more. I like how it is optional too, having maximal backwards-compatibility where possible is the only way forward. When WDL 2.0 eventually launches I don't want it to become the python 3.0 disaster where only the core devs are on the new stuff and the rest of the world waits for 10+ years.

rhpvorderman avatar Dec 28 '22 05:12 rhpvorderman

I love this idea too. I have always felt that in lieu of other properties it was just added boilerplate to the call definition. @mlin are you able to take a stab at updating the grammar bychance?

patmagee avatar Jan 09 '23 20:01 patmagee

@mlin please change target to wdl-1.2

jdidion avatar Dec 17 '23 23:12 jdidion