Author: bugman
Date: Fri Sep 12 17:31:20 2014
New Revision: 25807

URL: http://svn.gna.org/viewcvs/relax?rev=25807&view=rev
Log:
Fix for the RelaxError raised by the frame_order.select_model user function.

This is the error if the model name is incorrect.


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

Modified: branches/frame_order_cleanup/specific_analyses/frame_order/uf.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/specific_analyses/frame_order/uf.py?rev=25807&r1=25806&r2=25807&view=diff
==============================================================================
--- branches/frame_order_cleanup/specific_analyses/frame_order/uf.py    
(original)
+++ branches/frame_order_cleanup/specific_analyses/frame_order/uf.py    Fri Sep 
12 17:31:20 2014
@@ -374,7 +374,7 @@
 
     # Test if the model name exists.
     if not model in MODEL_LIST:
-        raise RelaxError("The model name '%s' is invalid, it must be one of 
%s." % MODEL_LIST)
+        raise RelaxError("The model name '%s' is invalid, it must be one of 
%s." % (model, MODEL_LIST))
 
     # Set the model
     cdp.model = model


_______________________________________________
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