Author: bugman Date: Thu Jan 28 19:32:46 2010 New Revision: 10551 URL: http://svn.gna.org/viewcvs/relax?rev=10551&view=rev Log: Shifted self.noe_index, self.r1_index, and self.r2_index to be next to the hardcoded indices. This are also hardcoded indices, though the self.analysis_frames and ds.relax_gui.analyses indices do not match! 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=10551&r1=10550&r2=10551&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/relax_gui.py (original) +++ branches/bieri_gui/gui_bieri/relax_gui.py Thu Jan 28 19:32:46 2010 @@ -95,26 +95,26 @@ for i in range(10): self.analysis_frames.append(Container()) - # The calculation threads list. - self.calc_threads = [] - - # Initialise the GUI data. - self.init_data() - - # Build the main window. - self.build_main_window() - - # Build the menu bar. - self.build_menu_bar() - - # Build the controller, but don't show it. - self.controller = Controller(None, -1, "") - # A fixed set of indices for 3 NOE, 3 R1, and 3 R2 frames used for accessing the relax data store. # FIXME: Eliminate these! There should be a flexible number of these frames. self.noe_index = [0, 1, 2] self.r1_index = [3, 4, 5] self.r2_index = [6, 7, 8] + + # The calculation threads list. + self.calc_threads = [] + + # Initialise the GUI data. + self.init_data() + + # Build the main window. + self.build_main_window() + + # Build the menu bar. + self.build_menu_bar() + + # Build the controller, but don't show it. + self.controller = Controller(None, -1, "") # NOE 1 no. 1 rx_data = ds.relax_gui.analyses[self.noe_index[0]]