mailr21732 - /trunk/lib/periodic_table.py


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

Header


Content

Posted by edward on December 02, 2013 - 10:21:
Author: bugman
Date: Mon Dec  2 10:21:40 2013
New Revision: 21732

URL: http://svn.gna.org/viewcvs/relax?rev=21732&view=rev
Log:
Simple fix for the new lib.periodic_table module.


Modified:
    trunk/lib/periodic_table.py

Modified: trunk/lib/periodic_table.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/lib/periodic_table.py?rev=21732&r1=21731&r2=21732&view=diff
==============================================================================
--- trunk/lib/periodic_table.py (original)
+++ trunk/lib/periodic_table.py Mon Dec  2 10:21:40 2013
@@ -49,7 +49,7 @@
         """
 
         # Check that Z is correctly ordered.
-        if Z != len(self.symbol):
+        if Z != len(self.symbol)+1:
             raise RelaxError("Incorrect setup.")
 
         # Append the values.




Related Messages


Powered by MHonArc, Updated Mon Dec 02 11:00:02 2013