These are the logs when running reana-snakemake.yaml (snakemake on k8s):
job: :
first
second
Completed
In this case, only first and second are printed, as expected.
These are the logs when running reana-snakemake-htcondorcern.yaml (snakemake on htcondorcern):
command to execute:
echo 'first' echo 'second'first echo second
In this second case, first echo second is printed, as the second echo command is passed as a parameter to the first one.
We should check whether multiline """ strings are supported by Snakemake (but they should, as the k8s example works) and why HTCondor behaves differently than k8s.
Consider the following changes to reana-demo-helloworld
These are the logs when running
reana-snakemake.yaml
(snakemake on k8s):In this case, only
first
andsecond
are printed, as expected.These are the logs when running
reana-snakemake-htcondorcern.yaml
(snakemake on htcondorcern):In this second case,
first echo second
is printed, as the secondecho
command is passed as a parameter to the first one.We should check whether multiline
"""
strings are supported by Snakemake (but they should, as the k8s example works) and why HTCondor behaves differently than k8s.