Author: bugman Date: Fri Nov 16 11:22:01 2012 New Revision: 17991 URL: http://svn.gna.org/viewcvs/relax?rev=17991&view=rev Log: Implemented the frame order specific deselect() method. Modified: branches/frame_order_testing/specific_fns/frame_order.py Modified: branches/frame_order_testing/specific_fns/frame_order.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/specific_fns/frame_order.py?rev=17991&r1=17990&r2=17991&view=diff ============================================================================== --- branches/frame_order_testing/specific_fns/frame_order.py (original) +++ branches/frame_order_testing/specific_fns/frame_order.py Fri Nov 16 11:22:01 2012 @@ -1648,6 +1648,19 @@ return mc_data + def deselect(self, model_info, sim_index=None): + """Deselect models or simulations. + + @param model_info: The model index from model_loop(). This is zero for the global models or equal to the global spin index (which covers the molecule, residue, and spin indices). + @type model_info: int + @keyword sim_index: The optional Monte Carlo simulation index. If None, then models will be deselected, otherwise the given simulation will. + @type sim_index: None or int + """ + + # Set the deselection flag. + cdp.select = False + + def eliminate(self, name, value, model_info, args, sim=None): """Model elimination method.