Author: bugman
Date: Thu Aug 28 17:35:28 2014
New Revision: 25397
URL: http://svn.gna.org/viewcvs/relax?rev=25397&view=rev
Log:
Fix for the recently introduced lib.periodic_table.isotope_to_mass_symbol()
function.
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=25397&r1=25396&r2=25397&view=diff
==============================================================================
--- trunk/lib/periodic_table.py (original)
+++ trunk/lib/periodic_table.py Thu Aug 28 17:35:28 2014
@@ -50,10 +50,10 @@
"""
# The mass number.
- A = int(split('[A-Z]', id)[0])
+ A = int(split('[A-Z]', isotope)[0])
# The atomic symbol.
- symbol = process_symbol(split('[0-9]', id)[-1])
+ symbol = process_symbol(split('[0-9]', isotope)[-1])
# Return the components.
return A, symbol
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits