From 960659746ca504aaf901b8499176ad70056cd84f Mon Sep 17 00:00:00 2001 From: Jenna Delozier <52164248+jenest@users.noreply.github.com> Date: Mon, 29 Mar 2021 21:09:08 -0400 Subject: [PATCH] Remove unnecessary imports --- Framework/PythonInterface/plugins/algorithms/HB2AReduce.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Framework/PythonInterface/plugins/algorithms/HB2AReduce.py b/Framework/PythonInterface/plugins/algorithms/HB2AReduce.py index 52fe93e862a..7e00cd32079 100644 --- a/Framework/PythonInterface/plugins/algorithms/HB2AReduce.py +++ b/Framework/PythonInterface/plugins/algorithms/HB2AReduce.py @@ -11,12 +11,10 @@ from mantid.kernel import (Direction, IntArrayProperty, FloatTimeSeriesProperty, PropertyCriterion, Property) from mantid.simpleapi import (SaveGSSCW, SaveFocusedXYE) from mantid import logger -import dateutil.parser as dparser import numpy as np import datetime import os import os.path -import time import re import warnings @@ -326,8 +324,6 @@ class HB2AReduce(PythonAlgorithm): This function returns either (vanadium_count, vanadium_monitor, None) or (None, None, vcorr) depending what type of file is provided by getProperty("Vanadium") """ - filename = self.getPropertyValue("Filename") - if not self.getProperty("Normalise").value: return None, None, np.ones(44)[detector_mask] -- GitLab