mailr22693 - /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:08:
Author: bugman
Date: Thu Apr 10 18:08:10 2014
New Revision: 22693

URL: http://svn.gna.org/viewcvs/relax?rev=22693&view=rev
Log:
Removed the frame order API return_units() method.

This method has been superseded by the parameter list object.


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=22693&r1=22692&r2=22693&view=diff
==============================================================================
--- trunk/specific_analyses/frame_order/api.py  (original)
+++ trunk/specific_analyses/frame_order/api.py  Thu Apr 10 18:08:10 2014
@@ -668,30 +668,6 @@
         return mc_errors
 
 
-    def return_units(self, param):
-        """Return a string representing the parameters units.
-
-        @param param:   The name of the parameter to return the units string 
for.
-        @type param:    str
-        @return:        The parameter units string.
-        @rtype:         str
-        """
-
-        # Average domain position.
-        if param in ['ave_pos_x', 'ave_pos_y', 'ave_pos_z']:
-            return 'Angstrom'
-        if param in ['ave_pos_alpha', 'ave_pos_beta', 'ave_pos_gamma']:
-            return 'rad'
-
-        # Eigenframe angles.
-        if param in ['eigen_alpha', 'eigen_beta', 'eigen_gamma', 
'axis_theta', 'axis_phi', 'axis_alpha']:
-            return 'rad'
-
-        # Cone angles.
-        if param in ['cone_theta_x', 'cone_theta_y', 'cone_sigma_max', 
'cone_theta']:
-            return 'rad'
-
-
     def set_error(self, model_info, index, error):
         """Set the parameter errors.
 




Related Messages


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