Author: bugman
Date: Thu Sep 25 13:28:30 2014
New Revision: 26041

URL: http://svn.gna.org/viewcvs/relax?rev=26041&view=rev
Log:
The verbosity flag is now being respected by the frame order specific API 
calculate() method.

This silences the method when executing the dx.map user function.  The chi2 
value printout is
suppressed and the verbosity argument is being sent into the frame order 
count_sobol_points()
function.


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=26041&r1=26040&r2=26041&view=diff
==============================================================================
--- branches/frame_order_cleanup/specific_analyses/frame_order/api.py   
(original)
+++ branches/frame_order_cleanup/specific_analyses/frame_order/api.py   Thu Sep 
25 13:28:30 2014
@@ -151,10 +151,11 @@
 
         # Feedback on the number of integration points used.
         if not cdp.quad_int:
-            count_sobol_points(target_fn=target_fn)
+            count_sobol_points(target_fn=target_fn, verbosity=verbosity)
 
         # Printout.
-        print("Chi2:  %s" % chi2)
+        if verbosity:
+            print("Chi2:  %s" % chi2)
 
 
     def constraint_algorithm(self):


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to