From e941f8682c7979f469577afd8e5cc349f166b691 Mon Sep 17 00:00:00 2001
From: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
Date: Wed, 5 Feb 2025 18:50:01 -0500
Subject: [PATCH] zdc_pi0: don't cleanup for zdc_sigma (#130)

---
 .gitlab-ci.yml                 | 3 ---
 benchmarks/zdc_pi0/config.yml  | 2 +-
 benchmarks/zdc_sigma/Snakefile | 2 --
 3 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3563178f..f5f7b7c5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -116,12 +116,9 @@ get_data:
     # snakemake support
     - mkdir "${DETECTOR_CONFIG}"
     - ln -s "${LOCAL_DATA_PATH}/sim_output" "${DETECTOR_CONFIG}/sim_output"
-    - find "${LOCAL_DATA_PATH}/sim_output" -type l -exec ls -la {} \;
     - ln -s "../results" "${DETECTOR_CONFIG}/results"
     - mkdir -p "$SNAKEMAKE_OUTPUT_CACHE"
     - ls -lrtha
-  after_script:
-    - find "${LOCAL_DATA_PATH}/sim_output" -type l -exec ls -la {} \;
   retry:
     max: 2
     when:
diff --git a/benchmarks/zdc_pi0/config.yml b/benchmarks/zdc_pi0/config.yml
index a1b0d3b2..b631da32 100644
--- a/benchmarks/zdc_pi0/config.yml
+++ b/benchmarks/zdc_pi0/config.yml
@@ -29,5 +29,5 @@ collect_results:zdc_pi0:
   script:
     - ls -al
     - mv results{,_save}/ # move results directory out of the way to preserve it
-    - snakemake $SNAKEMAKE_FLAGS --cores 1 --delete-all-output results/epic_zdc_sipm_on_tile_only/zdc_sigma
+    - snakemake $SNAKEMAKE_FLAGS --cores 1 --delete-all-output results/epic_zdc_sipm_on_tile_only/zdc_pi0
     - mv results{_save,}/
diff --git a/benchmarks/zdc_sigma/Snakefile b/benchmarks/zdc_sigma/Snakefile
index 92a645d2..5ca8f7ed 100644
--- a/benchmarks/zdc_sigma/Snakefile
+++ b/benchmarks/zdc_sigma/Snakefile
@@ -68,7 +68,5 @@ rule zdc_sigma_analysis:
         shell:
                 """
 mkdir -p {output.results_dir}
-ls -la {input}
-find "$LOCAL_DATA_PATH/sim_output" -type l -exec readlink {{}} \; | xargs ls -la
 python {input.script} {output.results_dir}
 """
-- 
GitLab