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
Snakemake version
5.30.2 & 6.12.1. I haven't tried others.
Describe the bug
Print statements outside of any rule seemingly(?) print each time a rule using the "run" directive and containing a print statement is executed.
Possibly related: In this example below, each time a rule with a run directive is executed the "Job counts" text is also repeated.
Logs
snakemake -s test.smk -j all
I should print once
Building DAG of jobs...
Using shell: /bin/bash
Provided cores: 12
Rules claiming more threads will be scaled down.
Job counts:
count jobs
1 all
2 run_version
2 shell_version
5
...
I should print once
I should print once
Job counts:
count jobs
1 run_version
1
run directive
Job counts:
count jobs
1 run_version
1
run directive
...
Do you know how to access any variable created in the onstart handler? I need to execute a function at start and then for it to be available for subsequent rules
Snakemake version
5.30.2 & 6.12.1. I haven't tried others.
Describe the bug
Logs
Minimal example
Additional context
The text was updated successfully, but these errors were encountered: