-
Notifications
You must be signed in to change notification settings - Fork 744
Description
Hi
One of the issues we are facing is very long running workflows, which can run for hours or days. So when we are making changes to our nextflow workflow signatures, we would like to get more timely feedback from our automatic nextflow runs in our continuous integration system.
So we wondered if there is some kind of dry-run option for evaluating these signatures and call sites, and we found 2 options: nextflow run -preview and nextflow run -stub-run.
For the -preview flag, this is the description: Run the workflow script skipping the execution of all processes.
For the -stub-run flag, this is the description: Whether to replace scripts with command stubs when executing the run.
When running with either of these options, the total runtime of one of the very time-consuming workflows becomes 18 seconds. So in practice, what is the difference between these options? Will our millage vary if we go for -preview vs -stub-run?