We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rule all: input: 'result.r1', 'result.c1', # targeting checkpoint output overrides input 'result.c2'
def rule1_input(wc): checkpoints.check1.get(**wc).output[0] return "result.r2"
rule r1: input: rule1_input output: 'result.r1', shell: 'echo {input} > {output}'
rule r2: output: 'result.r2' shell: 'echo r2 > {output}'
def check1_input(wc): checkpoints.check2.get(**wc).output[0] return 'result.r3'
checkpoint check1: input: check1_input output: 'result.c1' shell: 'echo c1 > {output}'
checkpoint check2: output: 'result.c2' shell: 'echo c2 > {output}'
rule r3: output: 'result.r3' shell: 'echo r3 > {output}'
no error in 8.20.6
The text was updated successfully, but these errors were encountered:
No branches or pull requests
rule all:
input:
'result.r1',
'result.c1', # targeting checkpoint output overrides input
'result.c2'
def rule1_input(wc):
checkpoints.check1.get(**wc).output[0]
return "result.r2"
rule r1:
input:
rule1_input
output:
'result.r1',
shell:
'echo {input} > {output}'
rule r2:
output:
'result.r2'
shell:
'echo r2 > {output}'
def check1_input(wc):
checkpoints.check2.get(**wc).output[0]
return 'result.r3'
checkpoint check1:
input:
check1_input
output:
'result.c1'
shell:
'echo c1 > {output}'
checkpoint check2:
output:
'result.c2'
shell:
'echo c2 > {output}'
rule r3:
output:
'result.r3'
shell:
'echo r3 > {output}'
The text was updated successfully, but these errors were encountered: