We’re moving the GATK website, docs and forum to a new platform. Read the full story and breakdown of key changes on this blog.
This section of the forum is now closed; we are working on a new support model for WDL that we will share here shortly. For Cromwell-specific issues, see the Cromwell docs and post questions on Github.
Optional task inputs for imported workflows
I recently moved some shared code into a workflow that I can import, and I noticed that there is no possibility to change some of the default arguments for tasks within the import workflow.
When I import a task,
wdltool inputs puts in
(optional) config keys for all the possible inputs for the imported task. But for workflows, this is not the case.
I was wondering if this is a bug or by design? I could put the optional arguments into the workflow itself as a workaround, but that would lead to a lot of duplicated argument definitions, and it would be easy to miss some. Especially if you have imported workflows that import other workflows themselves.
I have tried to manually add the arguments I wanted to the
arguments.json file, but they seem to get ignored. (No errors though)