From e54f92b57cf58088426e1d0f31b4bf1c930313bd Mon Sep 17 00:00:00 2001
From: Thomas Kluyver <thomas.kluyver@xfel.eu>
Date: Thu, 1 Feb 2024 13:28:56 +0100
Subject: [PATCH] ensure karabo_da is a list

---
 notebooks/Gotthard2/Characterize_Darks_Gotthard2_NBC.ipynb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/notebooks/Gotthard2/Characterize_Darks_Gotthard2_NBC.ipynb b/notebooks/Gotthard2/Characterize_Darks_Gotthard2_NBC.ipynb
index 8996ae973..3a1edb65e 100644
--- a/notebooks/Gotthard2/Characterize_Darks_Gotthard2_NBC.ipynb
+++ b/notebooks/Gotthard2/Characterize_Darks_Gotthard2_NBC.ipynb
@@ -227,7 +227,7 @@
     "    # Filter DA connected to detector in CALCAT\n",
     "    karabo_da = [da for da in karabo_da if da in da_to_pdu]\n",
     "else:\n",
-    "    karabo_da = da_to_pdu.keys()\n",
+    "    karabo_da = list(da_to_pdu.keys())\n",
     "\n",
     "print(f\"Processing {karabo_da}\")"
    ]
-- 
GitLab