miniwdl icon indicating copy to clipboard operation
miniwdl copied to clipboard

"dry run" a task (preview command script given dummy inputs)

Open komais opened this issue 4 years ago • 3 comments

I want to only output command lines in shell script , Is there any way that i can implement this?
Thank you

komais avatar May 20 '20 05:05 komais

Hi, I'm afraid I didn't quite follow your question -- would you care to elaborate or show an example perhaps?

mlin avatar May 21 '20 06:05 mlin

thank you for your reply . I hope there is a "dry run" mode which means just generate sh script in a directory , instead of running it on the computer .

komais avatar May 23 '20 07:05 komais

Generally in WDL, the invocations for a task, and which tasks run at all, can depend on the outputs of prior tasks. So given a workflow and its required inputs, one could generate a "dry run" script for the initial tasks with no dependencies but not (in general) subsequent tasks that use their outputs. I think that would be quite limited in utility, but if you want to discuss the broader objective more I might have another suggestion.

mlin avatar May 28 '20 07:05 mlin