mailr23427 - /branches/frame_order_cleanup/specific_analyses/frame_order/api.py


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

Header


Content

Posted by edward on May 26, 2014 - 17:00:
Author: bugman
Date: Mon May 26 17:00:03 2014
New Revision: 23427

URL: http://svn.gna.org/viewcvs/relax?rev=23427&view=rev
Log:
The minimisation verbosity flag now effects the frame order RelaxWarning 
about turning constraints off.


Modified:
    branches/frame_order_cleanup/specific_analyses/frame_order/api.py

Modified: branches/frame_order_cleanup/specific_analyses/frame_order/api.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/specific_analyses/frame_order/api.py?rev=23427&r1=23426&r2=23427&view=diff
==============================================================================
--- branches/frame_order_cleanup/specific_analyses/frame_order/api.py   
(original)
+++ branches/frame_order_cleanup/specific_analyses/frame_order/api.py   Mon 
May 26 17:00:03 2014
@@ -556,7 +556,8 @@
 
         # Constraint flag set but no constraints present.
         if A != None and len(A) == 0:
-            warn(RelaxWarning("The '%s' model parameters are not 
constrained, turning the linear constraint algorithm off." % cdp.model))
+            if verbosity:
+                warn(RelaxWarning("The '%s' model parameters are not 
constrained, turning the linear constraint algorithm off." % cdp.model))
             constraints = False
 
             # Pop out the log barrier algorithm.




Related Messages


Powered by MHonArc, Updated Mon May 26 18:20:03 2014