diff --git a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py index 7da1d0e8651e08198beafcfa987b8eaa07169b7b..7f16e62236b669d25a918fd761db5341cf80c6b8 100644 --- a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py +++ b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py @@ -1,13 +1,5 @@ #pylint: disable=no-init from IndirectImport import * -if is_supported_f2py_platform(): - QLr = import_f2py("QLres") - QLd = import_f2py("QLdata") - Qse = import_f2py("QLse") - Que = import_f2py("Quest") - resnorm = import_f2py("ResNorm") -else: - logger.error('F2Py functionality not currently available on your platform.') from mantid.api import PythonAlgorithm, AlgorithmFactory, MatrixWorkspaceProperty, PropertyMode, WorkspaceGroupProperty from mantid.kernel import StringListValidator, Direction @@ -138,13 +130,14 @@ class QLRun(PythonAlgorithm): def PyExec(self): #from IndirectImport import run_f2py_compatibility_test, is_supported_f2py_platform - if is_supported_f2py_platform(): - import IndirectBayes as Main - run_f2py_compatibility_test() - from IndirectBayes import CalcErange, GetXYE, ReadNormFile, ReadWidthFile, QLAddSampleLogs, C2Fw, C2Se, QuasiPlot - from IndirectCommon import getDefaultWorkingDirectory, CheckXrange, CheckAnalysers, getEfixed, GetThetaQ, CheckHistZero, CheckHistSame + from IndirectBayes import (CalcErange, GetXYE, ReadNormFile, \ + ReadWidthFile, QLAddSampleLogs, C2Fw, \ + C2Se, QuasiPlot) + from IndirectCommon import (getDefaultWorkingDirectory, CheckXrange,\ + CheckAnalysers, getEfixed, GetThetaQ,\ + CheckHistZero, CheckHistSame) self.log().information('QLRun input')