Snakemake rule generating symlink in Python script reruns always with “Code has changed” despite no code changes
I have a snakemake rule that generates symbolic links in a target folder. This is done within a Python script and the script
directive in the rule. This rule is always rerun with reason: Code has changed since last execution
, even though I didn’t change any code (rerunning the same snakemake
command twice will rerun the rule).
Rule generating symlink reruns always with “Code has changed” within `script` but not within `run` or `shell` directives
I have a snakemake rule that generates symbolic links in a target folder. This is done within a Python script and the script
directive in the rule. This rule is always rerun with reason: Code has changed since last execution
, even though I didn’t change any code (rerunning the same snakemake
command twice will rerun the rule).