From d2db08c70a43575aa53bca6cecb34599e255cc03 Mon Sep 17 00:00:00 2001
From: ahmedk <karim.ahmed@xfel.eu>
Date: Mon, 29 Jan 2024 13:15:19 +0100
Subject: [PATCH] refactor

---
 webservice/config/webservice.yaml | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/webservice/config/webservice.yaml b/webservice/config/webservice.yaml
index 3888f36cc..66195a9a6 100644
--- a/webservice/config/webservice.yaml
+++ b/webservice/config/webservice.yaml
@@ -63,6 +63,18 @@ dark:
   reports-folder: /gpfs/exfel/d/cal/caldb_store/xfel/reports/{instrument}/{det_instance}/{action}
   commissioning-penalty: 1250
   job-penalty: 2
+  three-gain-detectors:
+    [
+      "LPD",
+      "AGIPD",
+      "JUNGFRAU",
+      "JF",
+      "JNGFR",
+      "JUNGF",
+      "GH2",
+      "G2",
+      "HIREX",
+    ]
   cmd: >-
     python -m xfel_calibrate.calibrate {detector} DARK
     --concurrency-par karabo_da
@@ -73,15 +85,3 @@ dark:
     --report-to {reports_folder}/{action}_{proposal}_{runs}_{time_stamp}
     --cal-db-interface tcp://max-exfl-cal001:8015#8044
     --db-output
-  three-gain-detectors:
-  [
-    "LPD",
-    "AGIPD",
-    "JUNGFRAU",
-    "JF",
-    "JNGFR",
-    "JUNGF",
-    "GH2",
-    "G2",
-    "HIREX",
-    ]
-- 
GitLab