mailr10028 - /1.3/specific_fns/frame_order.py


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

Header


Content

Posted by edward on November 30, 2009 - 14:46:
Author: bugman
Date: Mon Nov 30 14:46:32 2009
New Revision: 10028

URL: http://svn.gna.org/viewcvs/relax?rev=10028&view=rev
Log:
The frame order theory is now using the common _set_param_values_global() 
analysis API method.


Modified:
    1.3/specific_fns/frame_order.py

Modified: 1.3/specific_fns/frame_order.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/frame_order.py?rev=10028&r1=10027&r2=10028&view=diff
==============================================================================
--- 1.3/specific_fns/frame_order.py (original)
+++ 1.3/specific_fns/frame_order.py Mon Nov 30 14:46:32 2009
@@ -33,6 +33,8 @@
 from warnings import warn
 
 # relax module imports.
+from api_base import API_base
+from api_common import API_common
 from float import isNaN, isInf
 from generic_fns import pipes
 from generic_fns.angles import wrap_angles
@@ -44,11 +46,17 @@
 from relax_errors import RelaxError, RelaxInfError, RelaxNaNError, 
RelaxNoModelError
 from relax_io import open_write_file
 from relax_warnings import RelaxWarning
-from specific_fns.api_base import API_base
-
-
-class Frame_order(API_base):
+
+
+class Frame_order(API_base, API_common):
     """Class containing the specific methods of the Frame Order theories."""
+
+    def __init__(self):
+        """Initialise the class by placing API_common methods into the 
API."""
+
+        # Place methods into the API.
+        self.set_param_values = self._set_param_values_global
+
 
     def _assemble_param_vector(self):
         """Assemble and return the parameter vector.




Related Messages


Powered by MHonArc, Updated Mon Nov 30 15:20:05 2009