From c9227c8c2712750e088121b8c5ea637e45a7ed26 Mon Sep 17 00:00:00 2001
From: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
Date: Sun, 1 Dec 2024 16:54:03 -0500
Subject: [PATCH] calo_pid/config.yml: use

---
 benchmarks/calo_pid/config.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/benchmarks/calo_pid/config.yml b/benchmarks/calo_pid/config.yml
index 8a65daa6..ca24a765 100644
--- a/benchmarks/calo_pid/config.yml
+++ b/benchmarks/calo_pid/config.yml
@@ -18,7 +18,7 @@ sim:calo_pid:
         ]
   script:
     - |
-      snakemake --cache --cores 5 \
+      snakemake $SNAKEMAKE_FLAGS --cores 5 \
         $(seq --format="sim_output/calo_pid/epic_inner_detector/${PARTICLE}/100MeVto20GeV/130to177deg/${PARTICLE}_100MeVto20GeV_130to177deg.%04.f.eicrecon.tree.edm4eic.root" ${INDEX_RANGE})
 
 bench:calo_pid:
@@ -30,7 +30,7 @@ bench:calo_pid:
   script:
     - export PYTHONUSERBASE=$LOCAL_DATA_PATH/deps
     - pip install -r benchmarks/calo_pid/requirements.txt
-    - snakemake --cache --cores 1 results/epic_inner_detector/calo_pid
+    - snakemake $SNAKEMAKE_FLAGS --cores 1 results/epic_inner_detector/calo_pid
 
 collect_results:calo_pid:
   allow_failure: true # until inference merged into EICrecon
@@ -41,5 +41,5 @@ collect_results:calo_pid:
   script:
     - ls -lrht
     - mv results{,_save}/ # move results directory out of the way to preserve it
-    - snakemake --cores 1 --delete-all-output results/epic_inner_detector/calo_pid
+    - snakemake $SNAKEMAKE_FLAGS --cores 1 --delete-all-output results/epic_inner_detector/calo_pid
     - mv results{_save,}/
-- 
GitLab