Author: bugman
Date: Wed Oct 22 15:22:03 2014
New Revision: 26349

URL: http://svn.gna.org/viewcvs/relax?rev=26349&view=rev
Log:
Added a printout of the frame order model in the target function setup function.

This is printed out when the minimise.calculate, minimise.grid_search, or 
minimise.execute user
function are called, and is for better feedback, especially in the 
auto-analysis where the
repetitive optimisations can be confusing.


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

Modified: 
branches/frame_order_cleanup/specific_analyses/frame_order/optimisation.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/specific_analyses/frame_order/optimisation.py?rev=26349&r1=26348&r2=26349&view=diff
==============================================================================
--- branches/frame_order_cleanup/specific_analyses/frame_order/optimisation.py  
(original)
+++ branches/frame_order_cleanup/specific_analyses/frame_order/optimisation.py  
Wed Oct 22 15:22:03 2014
@@ -767,6 +767,10 @@
     @keyword unset_fail:        A flag which if True will cause a RelaxError 
to be raised if the parameter is not set yet.
     @type unset_fail:           bool
     """
+
+    # Model printout.
+    if verbosity:
+        print("Frame order model:  %s" % cdp.model)
 
     # Assemble the parameter vector.
     param_vector = assemble_param_vector(sim_index=sim_index, 
unset_fail=unset_fail)


_______________________________________________
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