Author: bugman Date: Thu Jun 25 12:52:26 2015 New Revision: 27859 URL: http://svn.gna.org/viewcvs/relax?rev=27859&view=rev Log: Silenced a warning in the N-state model optimisation if the verbosity is set to zero. This removes a repetitive warning from the Monte Carlo or Bootstrap simulations. Modified: trunk/specific_analyses/n_state_model/api.py Modified: trunk/specific_analyses/n_state_model/api.py URL: http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/n_state_model/api.py?rev=27859&r1=27858&r2=27859&view=diff ============================================================================== --- trunk/specific_analyses/n_state_model/api.py (original) +++ trunk/specific_analyses/n_state_model/api.py Thu Jun 25 12:52:26 2015 @@ -473,7 +473,8 @@ # Right, constraints cannot be used for the 'fixed' model. if constraints and cdp.model == 'fixed': - warn(RelaxWarning("Turning constraints off. These cannot be used for the 'fixed' model.")) + if verbosity: + warn(RelaxWarning("Turning constraints off. These cannot be used for the 'fixed' model.")) constraints = False # Pop out the Method of Multipliers algorithm.