-
Notifications
You must be signed in to change notification settings - Fork 634
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Snakemake version
Both 7.12.0 and 7.6.1
Describe the bug
The returned path from workflow.source_path changes cross different executions of snakemake, even though the file does not change.
It causes param changes and triggers rerun of rules.
Logs
Using the source_path test as an example.
The first run:
$ snakemake --version
7.12.0
$ snakemake -j -p
...
rule a:
output: test.out
jobid: 0
reason: Missing output files: test.out
resources: tmpdir=/tmp
cat /home/user/.cache/snakemake/snakemake/source-cache/runtime-cache/tmp_kcizqm8/6d573129aa3a1579b69b535c1b44b8db4c81ffdc5b20340dccb22d0576dcd362 > test.outThe second run:
$ snakemake -j -p
...
rule a:
output: test.out
jobid: 0
reason: Params have changed since last execution
resources: tmpdir=/tmp
cat /home/user/.cache/snakemake/snakemake/source-cache/runtime-cache/tmp6tmmr3c9/6d573129aa3a1579b69b535c1b44b8db4c81ffdc5b20340dccb22d0576dcd362 > test.outNote that the temp dir runtime-cache/tmpXXXXXXXX has changed.
Minimal example
See the link above.
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working