From d09659abef6225e9cd0d1ee90d4dc8cc0351e305 Mon Sep 17 00:00:00 2001 From: Dan Nixon Date: Fri, 22 Aug 2014 12:08:13 +0100 Subject: [PATCH] Fix failing unit test Refs #9345 --- .../plugins/algorithms/WorkflowAlgorithms/JumpFit.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/JumpFit.py b/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/JumpFit.py index e17c431decbe..bfca95de9b2c 100644 --- a/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/JumpFit.py +++ b/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/JumpFit.py @@ -1,10 +1,5 @@ from mantid.kernel import * from mantid.api import * -from mantid.simpleapi import * -from mantid import logger, mtd -from IndirectCommon import * -from IndirectImport import import_mantidplot - import os.path @@ -41,6 +36,11 @@ def PyInit(self): def PyExec(self): + from mantid.simpleapi import * + from mantid import logger, mtd + from IndirectCommon import * + from IndirectImport import import_mantidplot + in_ws = self.getPropertyValue('InputWorkspace') out_name = self.getPropertyValue('Output')