diff --git a/Code/Mantid/scripts/Interface/reduction_gui/reduction/inelastic/dgs_diagnose_detectors_script.py b/Code/Mantid/scripts/Interface/reduction_gui/reduction/inelastic/dgs_diagnose_detectors_script.py index 8a874f3840210e3202e403e0e15554b1df23f328..86f2d38a243fc57981bcb423a3fa1a191b9ffedb 100644 --- a/Code/Mantid/scripts/Interface/reduction_gui/reduction/inelastic/dgs_diagnose_detectors_script.py +++ b/Code/Mantid/scripts/Interface/reduction_gui/reduction/inelastic/dgs_diagnose_detectors_script.py @@ -92,9 +92,9 @@ class DiagnoseDetectorsScript(BaseScriptElement): if self.tof_start != DiagnoseDetectorsScript.tof_start: script += "BackgroundTofStart=%s,\n" % self.tof_start if self.tof_end != DiagnoseDetectorsScript.tof_end: - script += "BackgroundTofEnd=%s,\n" % int(self.tof_end) + script += "BackgroundTofEnd=%s,\n" % self.tof_end if self.reject_zero_bkg: - script += "RejectZeroBackground=%s,\n" % int(self.reject_zero_bkg) + script += "RejectZeroBackground=%s,\n" % self.reject_zero_bkg if self.psd_bleed: script += "PsdBleed=%s,\n" % self.psd_bleed if self.max_framerate != DiagnoseDetectorsScript.max_framerate: diff --git a/Code/Mantid/scripts/Interface/reduction_gui/reduction/inelastic/dgs_utils.py b/Code/Mantid/scripts/Interface/reduction_gui/reduction/inelastic/dgs_utils.py index bcb3d9f0f4a641fab715fdda8dab5f51cb44f7d8..cc76471c1b627fab47694028bfc3e6a0340ed875 100644 --- a/Code/Mantid/scripts/Interface/reduction_gui/reduction/inelastic/dgs_utils.py +++ b/Code/Mantid/scripts/Interface/reduction_gui/reduction/inelastic/dgs_utils.py @@ -23,8 +23,6 @@ class InstrumentParameters(object): else: if self.instrument_name != inst_name: self._load_param_file(inst_name) - else: - print "Doing nothing" def _load_param_file(self, inst_name): InstrumentParameters.instrument_name = inst_name