From 2473f796db611544bd9148eed24af768ba356547 Mon Sep 17 00:00:00 2001
From: simonge <simon.gardner@glasgow.ac.uk>
Date: Thu, 9 Jan 2025 18:33:15 +0000
Subject: [PATCH] Add missing config.yml

---
 .../lowq2/reconstruction_training/config.yml  | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 benchmarks/lowq2/reconstruction_training/config.yml

diff --git a/benchmarks/lowq2/reconstruction_training/config.yml b/benchmarks/lowq2/reconstruction_training/config.yml
new file mode 100644
index 00000000..aa58950b
--- /dev/null
+++ b/benchmarks/lowq2/reconstruction_training/config.yml
@@ -0,0 +1,22 @@
+bench:lowq2_reconstruction_training:
+  allow_failure: true # until inference merged into EICrecon
+  extends: .det_benchmark
+  stage: benchmarks
+  script:
+    - export LOWQ2_DATADIR=data/lowq2/reconstruction_training/
+    - export LOWQ2_RESULTSDIR=results/lowq2/reconstruction_training/
+    - mkdir -p $LOWQ2_DATADIR
+    - mkdir -p $LOWQ2_RESULTSDIR
+    - snakemake $SNAKEMAKE_FLAGS --cores 5 ${LOWQ2_RESULTSDIR}TestTaggerTrackerTransportation ${LOWQ2_RESULTSDIR}TaggerTrackerTransportation
+
+collect_results:lowq2_reconstruction_training:
+  allow_failure: true # until inference merged into EICrecon
+  extends: .det_benchmark
+  stage: collect
+  needs:
+    - "bench:lowq2_reconstruction_training"
+  script:
+    - ls -lrht
+    - mv results{,_save}/ # move results directory out of the way to preserve it
+    - snakemake $SNAKEMAKE_FLAGS --cores 1 --delete-all-output ${LOWQ2_RESULTSDIR}TestTaggerTrackerTransportation ${LOWQ2_RESULTSDIR}TaggerTrackerTransportation
+    - mv results{_save,}/
-- 
GitLab