mailr7380 - /1.3/specific_fns/model_free/main.py


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

Header


Content

Posted by edward on September 26, 2008 - 22:52:
Author: bugman
Date: Fri Sep 26 22:52:18 2008
New Revision: 7380

URL: http://svn.gna.org/viewcvs/relax?rev=7380&view=rev
Log:
Fixes for the sim_return_selected() method.


Modified:
    1.3/specific_fns/model_free/main.py

Modified: 1.3/specific_fns/model_free/main.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/main.py?rev=7380&r1=7379&r2=7380&view=diff
==============================================================================
--- 1.3/specific_fns/model_free/main.py (original)
+++ 1.3/specific_fns/model_free/main.py Fri Sep 26 22:52:18 2008
@@ -2997,14 +2997,18 @@
                 inc = inc + 1
 
 
-    def sim_return_selected(self, spin):
+    def sim_return_selected(self, spin_id):
         """Return the array of selected simulation flags for the spin.
 
-        @param spin:        The spin container.
-        @type spin:         SpinContainer instance
+        @param spin_id:     The spin identification string, as yielded by 
the base_data_loop()
+                            generator method.
+        @type spin_id:      str
         @return:            The array of selected simulation flags.
         @rtype:             list of int
         """
+
+        # Get the spin container.
+        spin = return_spin(spin_id)
 
         # Determine the model type.
         model_type = self.determine_model_type()




Related Messages


Powered by MHonArc, Updated Fri Sep 26 23:20:02 2008