From 34b32843cded01f2e223afa0b004c863a7a4193c Mon Sep 17 00:00:00 2001
From: Karim Ahmed <karim.ahmed@xfel.eu>
Date: Fri, 17 Sep 2021 11:51:39 +0200
Subject: [PATCH] Apply suggestion to src/cal_tools/agipdlib.py

---
 src/cal_tools/agipdlib.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/cal_tools/agipdlib.py b/src/cal_tools/agipdlib.py
index 49a427186..121c120c8 100644
--- a/src/cal_tools/agipdlib.py
+++ b/src/cal_tools/agipdlib.py
@@ -889,7 +889,6 @@ class AgipdCorrections:
                 "maximum pulse."
             )
 
-        adjusted_range = None
         if len(pulses_range) == 1:
             adjusted_range = (0, pulses_range[0], 1)
         elif len(pulses_range) == 2:
-- 
GitLab