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.