Author: bugman Date: Tue Jan 26 18:20:55 2010 New Revision: 10401 URL: http://svn.gna.org/viewcvs/relax?rev=10401&view=rev Log: Fix for the GUI data initialisation. The Rx frequencies were not being initialised as they should. Modified: branches/bieri_gui/gui_bieri/relax_gui.py Modified: branches/bieri_gui/gui_bieri/relax_gui.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/relax_gui.py?rev=10401&r1=10400&r2=10401&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/relax_gui.py (original) +++ branches/bieri_gui/gui_bieri/relax_gui.py Tue Jan 26 18:20:55 2010 @@ -2084,9 +2084,9 @@ # Initialise the 3 R1 and 3 R2 analyses. rx = ['R1']*3 + ['R2']*3 nmrfreq = nmrfreq * 2 - for name in rx: + for i in range(len(rx)): # Add the element. - ds.relax_gui.analyses.add(name) + ds.relax_gui.analyses.add(rx[i]) # Initialise the variables. ds.relax_gui.analyses[-1].frq = nmrfreq[i]