mailr9212 - /1.3/specific_fns/base_class.py


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

Header


Content

Posted by edward on July 13, 2009 - 18:30:
Author: bugman
Date: Mon Jul 13 18:30:45 2009
New Revision: 9212

URL: http://svn.gna.org/viewcvs/relax?rev=9212&view=rev
Log:
Bug fix:  The return_conversion_factor() method now accepts the spin arg.


Modified:
    1.3/specific_fns/base_class.py

Modified: 1.3/specific_fns/base_class.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/base_class.py?rev=9212&r1=9211&r2=9212&view=diff
==============================================================================
--- 1.3/specific_fns/base_class.py (original)
+++ 1.3/specific_fns/base_class.py Mon Jul 13 18:30:45 2009
@@ -165,8 +165,16 @@
         """Dummy function, nornally for deselecting spins with insufficient 
data for minimisation."""
 
 
-    def return_conversion_factor(self, stat_type):
-        """Dummy function for returning 1.0."""
+    def return_conversion_factor(self, stat_type, spin):
+        """Dummy function for returning 1.0.
+
+        @param stat_type:   The name of the statistic.  This is unused!
+        @type stat_type:    str
+        @param spin:        Spin container (not used).
+        @type spin:         SpinContainer instance
+        @return:            A conversion factor of 1.0.
+        @rtype:             float
+        """
 
         return 1.0
 




Related Messages


Powered by MHonArc, Updated Mon Jul 13 18:40:04 2009