diff --git a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/DetectorFloodWeighting.py b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/DetectorFloodWeighting.py index fe35222ca73636d02d42c9aca894c41fbce4b02a..1e8a2e0b6140e01a546f9e9144ef15873c380084 100644 --- a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/DetectorFloodWeighting.py +++ b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/DetectorFloodWeighting.py @@ -2,8 +2,7 @@ from mantid.api import DataProcessorAlgorithm, AlgorithmFactory, MatrixWorkspace from mantid.kernel import Direction, FloatArrayProperty, FloatArrayBoundedValidator -import numpy as np - +import numpy as np class DetectorFloodWeighting(DataProcessorAlgorithm): @@ -110,4 +109,5 @@ class DetectorFloodWeighting(DataProcessorAlgorithm): self.setProperty('OutputWorkspace', normalized) -# Register alg \ No newline at end of file +# Register alg +AlgorithmFactory.subscribe(DetectorFloodWeighting)