diff --git a/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/CreateMD.py b/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/CreateMD.py index a09f440210d2417a01c93989a67d57fe7777c9ac..7a63ebdb42f053cf6f3cd51f5b93f36070d8aa81 100644 --- a/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/CreateMD.py +++ b/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/CreateMD.py @@ -48,11 +48,10 @@ class CreateMD(DataProcessorAlgorithm): def _convert_to_md(self, workspace, analysis_mode): # Find the Min Max extents - min_max_alg = self.createChildAlgorithm('ConvertToMDMinMaxLocal') + min_max_alg = self.createChildAlgorithm('ConvertToMDMinMaxGlobal') min_max_alg.setProperty('InputWorkspace', workspace) min_max_alg.setProperty('QDimensions', 'Q3D') min_max_alg.setProperty('dEAnalysisMode', analysis_mode) - min_max_alg.setProperty('QConversionScales', 'HKL') min_max_alg.execute() min_values = min_max_alg.getProperty('MinValues').value max_values = min_max_alg.getProperty('MaxValues').value