diff --git a/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/MSGDiffractionReduction.py b/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/MSGDiffractionReduction.py index bfc49132b500..f85252698ceb 100644 --- a/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/MSGDiffractionReduction.py +++ b/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/MSGDiffractionReduction.py @@ -31,7 +31,7 @@ def PyInit(self): doc='Range of detectors to use.') self.declareProperty(name='RebinParam', defaultValue='', - doc='Rebin parameters') + doc='Rebin parameters.') self.declareProperty(WorkspaceGroupProperty('OutputWorkspaceGroup', '', direction=Direction.Output, optional=PropertyMode.Optional), @@ -88,7 +88,7 @@ def PyExec(self): reducer = MSGDiffractionReducer() reducer.set_instrument_name(instrument_name) - reducer.set_detector_range(detector_range[0] - 1, detector_range[1] - 1) + reducer.set_detector_range(int(detector_range[0] - 1), int(detector_range[1] - 1)) reducer.set_parameter_file(ipf_filename) reducer.set_sum_files(sum_files) reducer.set_save_formats(save_formats)