mailr22690 - /trunk/specific_analyses/frame_order/api.py


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

Header


Content

Posted by edward on April 10, 2014 - 18:01:
Author: bugman
Date: Thu Apr 10 18:01:02 2014
New Revision: 22690

URL: http://svn.gna.org/viewcvs/relax?rev=22690&view=rev
Log:
Replaced the frame order specific API model_loop() method.

The base method _model_loop_single_global() is used instead.


Modified:
    trunk/specific_analyses/frame_order/api.py

Modified: trunk/specific_analyses/frame_order/api.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/frame_order/api.py?rev=22690&r1=22689&r2=22690&view=diff
==============================================================================
--- trunk/specific_analyses/frame_order/api.py  (original)
+++ trunk/specific_analyses/frame_order/api.py  Thu Apr 10 18:01:02 2014
@@ -58,6 +58,7 @@
         # Place methods into the API.
         self.deselect = self._deselect_global
         self.is_spin_param = self._is_spin_param_false
+        self.model_loop = self._model_loop_single_global
         self.overfit_deselect = self._overfit_deselect_dummy
         self.return_conversion_factor = self._return_no_conversion_factor
         self.set_param_values = self._set_param_values_global
@@ -576,21 +577,6 @@
         return ""
 
 
-    def model_loop(self):
-        """Dummy generator method.
-
-        In this case only a single model per spin system is assumed.  Hence 
the yielded data is the
-        spin container object.
-
-
-        @return:    Information about the model which for this analysis is 
the spin container.
-        @rtype:     SpinContainer instance
-        """
-
-        # Don't return anything, just loop once.
-        yield None
-
-
     def model_statistics(self, model_info=None, spin_id=None, 
global_stats=None):
         """Return the k, n, and chi2 model statistics.
 




Related Messages


Powered by MHonArc, Updated Thu Apr 10 18:20:01 2014