Author: bugman Date: Tue Sep 25 14:58:22 2012 New Revision: 17557 URL: http://svn.gna.org/viewcvs/relax?rev=17557&view=rev Log: Printouts for the over-fitting deselection of spins are suppressed for the back-calculation of relaxation data. This affects the model-free Monte Carlo simulations, simplifying the output. Modified: trunk/specific_fns/model_free/main.py Modified: trunk/specific_fns/model_free/main.py URL: http://svn.gna.org/viewcvs/relax/trunk/specific_fns/model_free/main.py?rev=17557&r1=17556&r2=17557&view=diff ============================================================================== --- trunk/specific_fns/model_free/main.py (original) +++ trunk/specific_fns/model_free/main.py Tue Sep 25 14:58:22 2012 @@ -467,7 +467,7 @@ return # Execute the over-fit deselection. - self.overfit_deselect(data_check=False) + self.overfit_deselect(data_check=False, verbose=False) # Get the relaxation value from the minimise function. value = self.minimise(min_algor='back_calc', min_options=(spin_index, ri_id, ri_type, frq)) @@ -1932,15 +1932,18 @@ raise RelaxFault - def overfit_deselect(self, data_check=True): + def overfit_deselect(self, data_check=True, verbose=True): """Deselect spins which have insufficient data to support minimisation. @keyword data_check: A flag to signal if the presence of base data is to be checked for. @type data_check: bool + @keyword verbose: A flag which if True will allow printouts. + @type verbose: bool """ # Print out. - print("\nOver-fit spin deselection:") + if verbose: + print("\nOver-fit spin deselection:") # Test if sequence data exists. if not exists_mol_res_spin_data(): @@ -2030,7 +2033,7 @@ continue # Final printout. - if not deselect_flag: + if verbose and not deselect_flag: print("No spins have been deselected.")