mailr25807 - /branches/frame_order_cleanup/specific_analyses/frame_order/uf.py


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

Header


Content

Posted by edward on September 12, 2014 - 17:31:
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




Related Messages


Powered by MHonArc, Updated Fri Sep 12 17:40:02 2014