Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflow rerun again and again #48

Open
wangjiawen2013 opened this issue Aug 1, 2023 · 0 comments
Open

workflow rerun again and again #48

wangjiawen2013 opened this issue Aug 1, 2023 · 0 comments

Comments

@wangjiawen2013
Copy link

Hi, here is a toy code I wrote (test.smk):

rule all:
input:
"/home/wangjw/data/work/flask/b.txt"

rule copy1:
input:
file = directory("/home/wangjw/data/work/flask")
output:
file = "data1/a.txt"
shell:
"cp {input.file}/a.txt {output.file}"

rule copy2:
input:
file = "data1/a.txt"
output:
file = "/home/wangjw/data/work/flask/b.txt"
shell:
"cp {input.file} {output.file}"

then I run snakemake -j 1 -s test.smk, the workflow will run again each time I perform "snakemake -j 1 -s test.smk", although all the files have been created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant