Author: bugman Date: Wed Jun 15 15:34:34 2011 New Revision: 13040 URL: http://svn.gna.org/viewcvs/relax?rev=13040&view=rev Log: The analysis tabs are now being reconstructed via add_analysis(). Modified: branches/gui_testing/gui/relax_gui.py Modified: branches/gui_testing/gui/relax_gui.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/relax_gui.py?rev=13040&r1=13039&r2=13040&view=diff ============================================================================== --- branches/gui_testing/gui/relax_gui.py (original) +++ branches/gui_testing/gui/relax_gui.py Wed Jun 15 15:34:34 2011 @@ -573,11 +573,9 @@ # Load the relax state. state.load_state(filename, verbosity=0) - # Build the analysis frames + # Reconstruct the analysis tabs. for i in range(len(ds.relax_gui.analyses)): - # The automatic model-free protocol frame - if ds.relax_gui.analyses[i].analysis_type == 'model-free': - self.analyses.append(Auto_model_free(self)) + self.add_analysis(ds.relax_gui.analyses[i].analysis_type) # Update the core of the GUI to match the new data store. self.sync_ds(upload=False)