From 9ed5442d77635d41356004cfafdbc89e471da2aa Mon Sep 17 00:00:00 2001 From: Keith Brown Date: Mon, 14 Apr 2014 14:08:02 +0100 Subject: [PATCH] Refs #9167 Minor style edit In another ticket i'd added a new method, but ti didn't have apropriate spacing or a docstring, just fixed that quickly --- Code/Mantid/scripts/Interface/ui/reflectometer/refl_gui.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Code/Mantid/scripts/Interface/ui/reflectometer/refl_gui.py b/Code/Mantid/scripts/Interface/ui/reflectometer/refl_gui.py index dfe9a4e3ce7b..4e49dbba17b5 100644 --- a/Code/Mantid/scripts/Interface/ui/reflectometer/refl_gui.py +++ b/Code/Mantid/scripts/Interface/ui/reflectometer/refl_gui.py @@ -751,7 +751,11 @@ def _do_run(self, runno, row, which): qmin = 4 * math.pi / lmax * math.sin(th * math.pi / 180) qmax = 4 * math.pi / lmin * math.sin(th * math.pi / 180) return th, qmin, qmax, wlam, wq + def _check_trans_run(self, transrun): + """ + check to see if the trasmission run is the same as the last one + """ if self._last_trans == transrun: return True translist = [word.strip() for word in re.split(',|:', transrun)] @@ -763,6 +767,7 @@ def _check_trans_run(self, transrun): else: return False return True + def _save_table_contents(self, filename): """ Save the contents of the table