mailr25398 - /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 August 28, 2014 - 17:39:
Author: bugman
Date: Thu Aug 28 17:39:08 2014
New Revision: 25398

URL: http://svn.gna.org/viewcvs/relax?rev=25398&view=rev
Log:
Bug fix for the Periodic_table.gyromagnetic_ratio() method - the self 
argument was missing.


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=25398&r1=25397&r2=25398&view=diff
==============================================================================
--- trunk/lib/periodic_table.py (original)
+++ trunk/lib/periodic_table.py Thu Aug 28 17:39:08 2014
@@ -276,7 +276,7 @@
         return process_mass(self[symbol].atomic_weight)
 
 
-    def gyromagnetic_ratio(isotope=None):
+    def gyromagnetic_ratio(self, isotope=None):
         """Return the gyromagnetic ratio for the isotope.
 
         @keyword isotope:   The isotope name, e.g. '15N'.




Related Messages


Powered by MHonArc, Updated Thu Aug 28 18:20:02 2014