Author: bugman Date: Thu Aug 4 18:47:33 2011 New Revision: 14151 URL: http://svn.gna.org/viewcvs/relax?rev=14151&view=rev Log: The unit vector loading wizard is now stored in the base model-free auto-analysis class. This is for access to the GUI element from the test-suite. Modified: branches/gui_testing/gui/analyses/auto_model_free.py Modified: branches/gui_testing/gui/analyses/auto_model_free.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/auto_model_free.py?rev=14151&r1=14150&r2=14151&view=diff ============================================================================== --- branches/gui_testing/gui/analyses/auto_model_free.py (original) +++ branches/gui_testing/gui/analyses/auto_model_free.py Thu Aug 4 18:47:33 2011 @@ -566,21 +566,21 @@ wx.BeginBusyCursor() # Create the wizard. - wizard = Wiz_window(size_x=800, size_y=600, title="Load unit vectors from file") + self.vect_wizard = Wiz_window(size_x=800, size_y=600, title="Load unit vectors from file") # Create the PDB reading page. - page = Read_pdb_page(wizard, self.gui) - wizard.add_page(page, skip_button=True) + page = Read_pdb_page(self.vect_wizard, self.gui) + self.vect_wizard.add_page(page, skip_button=True) # Create the vector loading page. - page = Vectors_page(wizard, self.gui) - wizard.add_page(page) + page = Vectors_page(self.vect_wizard, self.gui) + self.vect_wizard.add_page(page) # Reset the cursor. wx.EndBusyCursor() # Execute the wizard. - wizard.run() + self.vect_wizard.run() def mode_dialog(self, event):