mailr21057 - /branches/relax_disp/specific_analyses/relax_disp/disp_data.py


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

Header


Content

Posted by edward on October 10, 2013 - 15:52:
Author: bugman
Date: Thu Oct 10 15:52:35 2013
New Revision: 21057

URL: http://svn.gna.org/viewcvs/relax?rev=21057&view=rev
Log:
Improved the RelaxError from the relax_disp.exp_type user function when an 
invalid experiment type is set.


Modified:
    branches/relax_disp/specific_analyses/relax_disp/disp_data.py

Modified: branches/relax_disp/specific_analyses/relax_disp/disp_data.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_analyses/relax_disp/disp_data.py?rev=21057&r1=21056&r2=21057&view=diff
==============================================================================
--- branches/relax_disp/specific_analyses/relax_disp/disp_data.py (original)
+++ branches/relax_disp/specific_analyses/relax_disp/disp_data.py Thu Oct 10 
15:52:35 2013
@@ -218,7 +218,7 @@
 
     # Check the experiment type.
     if exp_type not in EXP_TYPE_LIST:
-        raise RelaxError("The relaxation dispersion experiment '%s' is 
invalid." % exp_type)
+        raise RelaxError("The relaxation dispersion experiment '%s' is 
invalid, it must be one of %s." % (exp_type, EXP_TYPE_LIST))
 
     # Initialise the experiment type data structures if needed.
     if not hasattr(cdp, 'exp_type'):




Related Messages


Powered by MHonArc, Updated Thu Oct 10 16:20:02 2013