From 5ab7fe200bc7923f5dd70a30a52e65f5f005eb3f Mon Sep 17 00:00:00 2001
From: Joseph Ramsay <joseph.ramsay@stfc.ac.uk>
Date: Tue, 24 Oct 2017 15:38:05 +0100
Subject: [PATCH] Re #20877 Removed unused variable

---
 .../isis_powder/pearl_routines/pearl_calibration_algs.py      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/Diffraction/isis_powder/pearl_routines/pearl_calibration_algs.py b/scripts/Diffraction/isis_powder/pearl_routines/pearl_calibration_algs.py
index 9a7d7138362..d85053d168a 100644
--- a/scripts/Diffraction/isis_powder/pearl_routines/pearl_calibration_algs.py
+++ b/scripts/Diffraction/isis_powder/pearl_routines/pearl_calibration_algs.py
@@ -35,8 +35,8 @@ def create_calibration(calibration_runs, instrument, offset_file_name, grouping_
     offset_file = os.path.join(calibration_dir, offset_file_name)
     # Offsets workspace must be referenced as string so it can be deleted, as simpleapi doesn't recognise it as a ws
     offsets_ws_name = "offsets"
-    offsets = mantid.GetDetectorOffsets(InputWorkspace=cross_correlated, GroupingFileName=offset_file,
-                                        OutputWorkspace=offsets_ws_name, **get_det_offset_params)
+    mantid.GetDetectorOffsets(InputWorkspace=cross_correlated, GroupingFileName=offset_file,
+                              OutputWorkspace=offsets_ws_name, **get_det_offset_params)
 
     rebinned_tof = mantid.ConvertUnits(InputWorkspace=rebinned, Target="TOF")
     aligned = mantid.AlignDetectors(InputWorkspace=rebinned_tof, CalibrationFile=offset_file)
-- 
GitLab