From ffeca4be0a7f84c61d3dc2980fac66f61ccb900c Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Wed, 18 Dec 2024 23:26:18 -0500 Subject: [PATCH] **/Snakefile: fix SyntaxWarning: invalid escape sequence '\(' --- benchmarks/lfhcal/Snakefile | 2 +- benchmarks/tracking_performances/Snakefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/lfhcal/Snakefile b/benchmarks/lfhcal/Snakefile index 1fc0fbe..9b6e544 100644 --- a/benchmarks/lfhcal/Snakefile +++ b/benchmarks/lfhcal/Snakefile @@ -93,7 +93,7 @@ rule lfhcal_summary_at_eta: "{CAMPAIGN}/Final_Results/{PARTICLE}/mom/lfhcal_mom_resol_{PARTICLE}_{ETA_MIN}_eta_{ETA_MAX}.png", "{CAMPAIGN}/Final_Results/{PARTICLE}/mom/lfhcal_mom_resol_{PARTICLE}_{ETA_MIN}_eta_{ETA_MAX}.root", shell: - """ + r""" if [[ "{wildcards.CAMPAIGN}" == "local" ]]; then set +e EPIC_VERSION="${{DETECTOR_VERSION:-}}" diff --git a/benchmarks/tracking_performances/Snakefile b/benchmarks/tracking_performances/Snakefile index b5a3174..ce816b5 100644 --- a/benchmarks/tracking_performances/Snakefile +++ b/benchmarks/tracking_performances/Snakefile @@ -139,7 +139,7 @@ rule tracking_performance_summary_at_eta: "{CAMPAIGN}/Final_Results/pi-/dca/dcaz_resol_{ETA_MIN}_eta_{ETA_MAX}.png", "{CAMPAIGN}/Final_Results/pi-/dca/dcaz_resol_{ETA_MIN}_eta_{ETA_MAX}.root", shell: - """ + r""" if [[ "{wildcards.CAMPAIGN}" == "local" ]]; then set +e EPIC_VERSION="${{DETECTOR_VERSION:-}}"