mailr6130 - /1.3/relax_warnings.py


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

Header


Content

Posted by edward on May 07, 2008 - 17:19:
Author: bugman
Date: Wed May  7 17:00:28 2008
New Revision: 6130

URL: http://svn.gna.org/viewcvs/relax?rev=6130&view=rev
Log:
Modifications to RelaxNoSpinWarning.


Modified:
    1.3/relax_warnings.py

Modified: 1.3/relax_warnings.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/relax_warnings.py?rev=6130&r1=6129&r2=6130&view=diff
==============================================================================
--- 1.3/relax_warnings.py (original)
+++ 1.3/relax_warnings.py Wed May  7 17:00:28 2008
@@ -88,8 +88,8 @@
 
 # Cannot find the spin in the sequence.
 class RelaxNoSpinWarning(BaseWarning):
-    def __init__(self, id):
-        self.text = "The spin " + `id` + " does not exist."
+    def __init__(self, spin_id):
+        self.text = "Cannot find the spin %s within the sequence." % spin_id
 
 
 # PDB warnings.




Related Messages


Powered by MHonArc, Updated Wed May 07 18:40:17 2008