From 87d257654f36a1d558feaf22e570e09acf4f3b18 Mon Sep 17 00:00:00 2001
From: Thomas Kluyver <thomas.kluyver@xfel.eu>
Date: Mon, 28 Nov 2022 11:47:18 +0100
Subject: [PATCH] LPD: don't skip constants already in calibration_metadata.yml
 when repeating correction

---
 notebooks/LPD/LPD_retrieve_constants_precorrection.ipynb | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/notebooks/LPD/LPD_retrieve_constants_precorrection.ipynb b/notebooks/LPD/LPD_retrieve_constants_precorrection.ipynb
index 21ffbfb4d..4d34cf5d5 100644
--- a/notebooks/LPD/LPD_retrieve_constants_precorrection.ipynb
+++ b/notebooks/LPD/LPD_retrieve_constants_precorrection.ipynb
@@ -148,9 +148,6 @@
     "start = perf_counter()\n",
     "for k_da in karabo_da:\n",
     "    pdu = None\n",
-    "    if k_da in retrieved_constants:\n",
-    "        print(f\"Constant for {k_da} already in {metadata.filename}, won't query again.\")  # noqa\n",
-    "        continue\n",
     "    retrieved_constants[k_da] = dict()\n",
     "    const_mdata = retrieved_constants[k_da][\"constants\"] = dict()\n",
     "    for calibrations, condition in [\n",
-- 
GitLab