You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With many layers of Snakemake configs provided via default configs and/or CLI options (--configfile/--config), it is helpful to have a standard way of logging the config values used for a workflow run.
Possible solutions
This is done in the ncov workflow with a dump_config rule. Users must specify the target with the same configs as their workflow run to see the config output.
We could print out the config with each workflow run using the onstart handler. However, Snakemake docs note that these handlers are not triggered during dry-runs.
Option 3 is enticing because it means the actual config in use is always in build logs, so when something unexpectedly goes wrong you can inspect the config (without having to reconstruct it in a separate subsequent run).
Context
With many layers of Snakemake configs provided via default configs and/or CLI options (
--configfile
/--config
), it is helpful to have a standard way of logging the config values used for a workflow run.Possible solutions
This is done in the ncov workflow with a
dump_config
rule. Users must specify the target with the same configs as their workflow run to see the config output.We could print out the config with each workflow run using the
onstart
handler. However, Snakemake docs note that these handlers are not triggered during dry-runs.--verbose
flag.The text was updated successfully, but these errors were encountered: