mailr9944 - /1.3/specific_fns/api_base.py


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

Header


Content

Posted by edward on November 24, 2009 - 19:18:
Author: bugman
Date: Tue Nov 24 19:18:23 2009
New Revision: 9944

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

The model_info arg is now being used.


Modified:
    1.3/specific_fns/api_base.py

Modified: 1.3/specific_fns/api_base.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/api_base.py?rev=9944&r1=9943&r2=9944&view=diff
==============================================================================
--- 1.3/specific_fns/api_base.py (original)
+++ 1.3/specific_fns/api_base.py Tue Nov 24 19:18:23 2009
@@ -842,14 +842,17 @@
             inc = inc + 1
 
 
-    def sim_return_selected(self, spin):
+    def sim_return_selected(self, model_info):
         """Return the array of selected simulation flags for the spin.
 
-        @param spin:        The spin container.
-        @type spin:         SpinContainer instance
+        @param model_info:  The model information originating from 
model_loop().
+        @type model_info:   unknown
         @return:            The array of selected simulation flags.
         @rtype:             list of int
         """
+
+        # Assume the default of a spin container.
+        spin = model_info
 
         # Return the array.
         return spin.select_sim




Related Messages


Powered by MHonArc, Updated Tue Nov 24 19:40:03 2009