mailr15194 - /branches/spec_api/specific_fns/api_common.py


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

Header


Content

Posted by edward on January 19, 2012 - 12:21:
Author: bugman
Date: Thu Jan 19 12:21:06 2012
New Revision: 15194

URL: http://svn.gna.org/viewcvs/relax?rev=15194&view=rev
Log:
Fix for the specific API _return_conversion_factor_spin() method.

The wrong variable was being used.


Modified:
    branches/spec_api/specific_fns/api_common.py

Modified: branches/spec_api/specific_fns/api_common.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/spec_api/specific_fns/api_common.py?rev=15194&r1=15193&r2=15194&view=diff
==============================================================================
--- branches/spec_api/specific_fns/api_common.py (original)
+++ branches/spec_api/specific_fns/api_common.py Thu Jan 19 12:21:06 2012
@@ -223,7 +223,7 @@
         """
 
         # Return the factor.
-        return self.SPIN_PARAMS.get_conv_factor(name)
+        return self.SPIN_PARAMS.get_conv_factor(param)
 
 
     def _return_no_conversion_factor(self, param):




Related Messages


Powered by MHonArc, Updated Thu Jan 19 13:40:01 2012