Author: michaelbieri Date: Thu Apr 22 06:23:33 2010 New Revision: 11114 URL: http://svn.gna.org/viewcvs/relax?rev=11114&view=rev Log: Removed selection for model selection mode. Standard will be AIC model selection. Modified: branches/bieri_gui/gui_bieri/analyses/auto_model_free.py Modified: branches/bieri_gui/gui_bieri/analyses/auto_model_free.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/analyses/auto_model_free.py?rev=11114&r1=11113&r2=11114&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/analyses/auto_model_free.py (original) +++ branches/bieri_gui/gui_bieri/analyses/auto_model_free.py Thu Apr 22 06:23:33 2010 @@ -210,37 +210,6 @@ # Add the title and box of buttons. box.Add(self.label_9, 0, wx.TOP|wx.ADJUST_MINSIZE, 10) box.Add(sizer_20, 1, wx.EXPAND, 0) - - - def add_modsel_method(self, box): - """Create and add the model selection choice GUI element to the given box. - - @param box: The box element to pack the model selection choice GUI element into. - @type box: wx.BoxSizer instance - """ - - # The elements. - self.label_10 = wx.StaticText(self.parent, -1, "Select Model-free selection mode: ") - self.aic = wx.RadioButton(self.parent, -1, "AIC") - self.bic = wx.RadioButton(self.parent, -1, "BIC") - - # Properties. - self.label_10.SetMinSize((240, 17)) - self.label_10.SetFont(wx.Font(10, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "Sans")) - self.aic.SetMinSize((60, 22)) - - # Layout. - sizer_21 = wx.BoxSizer(wx.HORIZONTAL) - sizer_21.Add(self.label_10, 0, wx.TOP|wx.ADJUST_MINSIZE, 1) - sizer_21.Add(self.aic, 0, wx.ADJUST_MINSIZE, 0) - sizer_21.Add(self.bic, 0, wx.ADJUST_MINSIZE, 0) - - # Bind the events. - self.gui.Bind(wx.EVT_RADIOBUTTON, self.sel_aic, self.aic) - self.gui.Bind(wx.EVT_RADIOBUTTON, self.sel_bic, self.bic) - - # Add the sizer to the box. - box.Add(sizer_21, 1, wx.TOP|wx.EXPAND, 5) def add_pdb_selection(self, box): @@ -699,9 +668,6 @@ # Add the model-free models GUI element. self.add_mf_models(box) - # Add the model selection GUI element. - self.add_modsel_method(box) - # Add the PDB file selection GUI element. self.add_pdb_selection(box)