mailr20776 - /trunk/lib/structure/mass.py


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

Header


Content

Posted by edward on September 03, 2013 - 17:40:
Author: bugman
Date: Tue Sep  3 17:40:26 2013
New Revision: 20776

URL: http://svn.gna.org/viewcvs/relax?rev=20776&view=rev
Log:
Fix for bug #21097 (https://gna.org/bugs/?21097).

This was a simple typo.  It has not been encountered before because it is in 
a rarely encountered
RelaxError.


Modified:
    trunk/lib/structure/mass.py

Modified: trunk/lib/structure/mass.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/lib/structure/mass.py?rev=20776&r1=20775&r2=20776&view=diff
==============================================================================
--- trunk/lib/structure/mass.py (original)
+++ trunk/lib/structure/mass.py Tue Sep  3 17:40:26 2013
@@ -59,7 +59,7 @@
         try:
             mass = return_atomic_mass(elements[i])
         except RelaxError:
-            warn(RelaxWarning("Skipping the atom '%s' as the element '%s' is 
unknown." % (id, element)))
+            warn(RelaxWarning("Skipping the atom '%s' as the element '%s' is 
unknown." % (id, elements[i])))
 
         # Total mass.
         M = M + mass




Related Messages


Powered by MHonArc, Updated Tue Sep 03 18:00:01 2013