diff --git a/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb b/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb
index d960043899a650d7096d381db92b8a55804b2b90..b8e05be8805086d027a2ae86fa5012849d61597f 100644
--- a/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb
+++ b/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb
@@ -84,7 +84,7 @@
     "\n",
     "import os\n",
     "from collections import OrderedDict\n",
-    "from typing import List, Tuple\n",
+    "from typing import Tuple\n",
     "\n",
     "import h5py\n",
     "import matplotlib\n",
@@ -577,10 +577,6 @@
    "outputs": [],
    "source": [
     "# Retrieve existing constants for comparison\n",
-    "if fixed_gain_mode:\n",
-    "    clist = [\"Offset\", \"Noise\", \"BadPixelsDark\"]\n",
-    "else:\n",
-    "    clist = [\"Offset\", \"Noise\", \"ThresholdsDark\", \"BadPixelsDark\"]\n",
     "old_const = {}\n",
     "old_mdata = {}\n",
     "detinst = getattr(Detectors, dinstance)\n",