Use raw strings to avoid illegal backslash warnings python 12
This commit is contained in:
parent
58a374d3ce
commit
651e28775e
@ -56,9 +56,9 @@ localrules:
|
||||
wildcard_constraints:
|
||||
simpl="[a-zA-Z0-9]*",
|
||||
clusters="[0-9]+(m|c)?|all",
|
||||
ll="(v|c)([0-9\.]+|opt)",
|
||||
opts="[-+a-zA-Z0-9\.]*",
|
||||
sector_opts="[-+a-zA-Z0-9\.\s]*",
|
||||
ll=r"(v|c)([0-9\.]+|opt)",
|
||||
opts=r"[-+a-zA-Z0-9\.]*",
|
||||
sector_opts=r"[-+a-zA-Z0-9\.\s]*",
|
||||
|
||||
|
||||
include: "rules/common.smk"
|
||||
@ -127,7 +127,7 @@ rule dag:
|
||||
conda:
|
||||
"envs/environment.yaml"
|
||||
shell:
|
||||
"""
|
||||
r"""
|
||||
snakemake --rulegraph all | sed -n "/digraph/,\$p" > {output.dot}
|
||||
dot -Tpdf -o {output.pdf} {output.dot}
|
||||
dot -Tpng -o {output.png} {output.dot}
|
||||
|
Loading…
Reference in New Issue
Block a user