Skip to content

Commit

Permalink
Refs #9167 Minor style edit
Browse files Browse the repository at this point in the history
In another ticket i'd added a new method, but ti didn't have apropriate spacing or a docstring, just fixed that quickly
  • Loading branch information
keithnbrown committed Apr 14, 2014
1 parent 9d13283 commit 9ed5442
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Code/Mantid/scripts/Interface/ui/reflectometer/refl_gui.py
Expand Up @@ -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)]
Expand All @@ -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
Expand Down

0 comments on commit 9ed5442

Please sign in to comment.