mailr8139 - /1.3/prompt/spectrum.py


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

Header


Content

Posted by sebastien . morin . 1 on December 04, 2008 - 19:33:
Author: semor
Date: Thu Dec  4 19:33:11 2008
New Revision: 8139

URL: http://svn.gna.org/viewcvs/relax?rev=8139&view=rev
Log:
Changed a RelaxError so it is more appropriated.

This is as proposed in the commit for r8137.


Modified:
    1.3/prompt/spectrum.py

Modified: 1.3/prompt/spectrum.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/prompt/spectrum.py?rev=8139&r1=8138&r2=8139&view=diff
==============================================================================
--- 1.3/prompt/spectrum.py (original)
+++ 1.3/prompt/spectrum.py Thu Dec  4 19:33:11 2008
@@ -423,7 +423,7 @@
 
         # The spectrum identification string (or list).
         if type(spectrum_id) != str and type(spectrum_id) != list:
-            raise RelaxStrError, ('spectrum identification string', 
spectrum_id)
+            raise RelaxStrListStrError, ('spectrum identification string', 
spectrum_id)
 
         # The heteronucleus name.
         if type(heteronuc) != str:




Related Messages


Powered by MHonArc, Updated Thu Dec 04 20:20:03 2008