diff --git a/Framework/PythonInterface/plugins/algorithms/CalibrateRectangularDetectors.py b/Framework/PythonInterface/plugins/algorithms/CalibrateRectangularDetectors.py index a0398453361f1bc970c4da016e07cf457d13b97a..a4ecdeb5d110b0599441a9c7a05ac39aec31a1a7 100644 --- a/Framework/PythonInterface/plugins/algorithms/CalibrateRectangularDetectors.py +++ b/Framework/PythonInterface/plugins/algorithms/CalibrateRectangularDetectors.py @@ -375,14 +375,14 @@ class CalibrateRectangularDetectors(PythonAlgorithm): if wksp is None: return None MaskDetectors(Workspace=wksp, MaskedWorkspace=str(wksp)+"mask") - wksp = AlignDetectors(InputWorkspace=wksp, OutputWorkspace=wksp.name(), + wksp = AlignDetectors(InputWorkspace=wksp, OutputWorkspace=wksp, CalibrationWorkspace=str(wksp)+"cal") # Diffraction focusing using new calibration file with offsets if self._diffractionfocus: - wksp = DiffractionFocussing(InputWorkspace=wksp, OutputWorkspace=wksp.name(), + wksp = DiffractionFocussing(InputWorkspace=wksp, OutputWorkspace=wksp, GroupingWorkspace=str(wksp)+"group") - wksp = Rebin(InputWorkspace=wksp, OutputWorkspace=wksp.name(), Params=self._binning) + wksp = Rebin(InputWorkspace=wksp, OutputWorkspace=wksp, Params=self._binning) return wksp def _initCCpars(self):