mailr3577 - /1.3/prompt/spin.py


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

Header


Content

Posted by edward on November 18, 2007 - 21:47:
Author: bugman
Date: Sun Nov 18 21:47:19 2007
New Revision: 3577

URL: http://svn.gna.org/viewcvs/relax?rev=3577&view=rev
Log:
Fixed a bug in the spin.renumber() user function.


Modified:
    1.3/prompt/spin.py

Modified: 1.3/prompt/spin.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/prompt/spin.py?rev=3577&r1=3576&r2=3577&view=diff
==============================================================================
--- 1.3/prompt/spin.py (original)
+++ 1.3/prompt/spin.py Sun Nov 18 21:47:19 2007
@@ -306,9 +306,9 @@
             text = text + ", new_number=" + `new_number` + ")"
             print text
 
-        # Residue identification string.
-        if type(spin_id) != int:
-            raise RelaxIntError, ('spin identification string', spin_id)
+        # Spin identification string.
+        if type(spin_id) != str:
+            raise RelaxStrError, ('spin identification string', spin_id)
 
         # New spin number.
         if type(new_number) != str:




Related Messages


Powered by MHonArc, Updated Sun Nov 18 22:00:13 2007