mailr27859 - /trunk/specific_analyses/n_state_model/api.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on June 25, 2015 - 12:52:
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.




Related Messages


Powered by MHonArc, Updated Thu Jun 25 16:20:10 2015