mailr12701 - /branches/relax_data/data/exp_info.py


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

Header


Content

Posted by edward on March 02, 2011 - 11:30:
Author: bugman
Date: Wed Mar  2 11:30:26 2011
New Revision: 12701

URL: http://svn.gna.org/viewcvs/relax?rev=12701&view=rev
Log:
Deleted the now useless get_peak_intensity_type(), get_temp_calibration(), 
and get_temp_control().


Modified:
    branches/relax_data/data/exp_info.py

Modified: branches/relax_data/data/exp_info.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_data/data/exp_info.py?rev=12701&r1=12700&r2=12701&view=diff
==============================================================================
--- branches/relax_data/data/exp_info.py (original)
+++ branches/relax_data/data/exp_info.py Wed Mar  2 11:30:26 2011
@@ -135,57 +135,6 @@
                 return i + 1
 
 
-    def get_peak_intensity_type(self, ri_label, frq_label):
-        """Return the peak intensity type for the given relaxation data.
-
-        @param ri_label:    The relaxation data type, ie 'R1', 'R2', or 
'NOE'.
-        @type ri_label:     str
-        @param frq_label:   The field strength label.
-        @type frq_label:    str
-        @return:            The peak intensity type.
-        @rtype:             str
-        """
-
-        # Find the matching container.
-        for i in range(len(self.peak_intensity_type)):
-            if self.peak_intensity_type[i].ri_label == ri_label and 
self.peak_intensity_type[i].frq_label == frq_label:
-                return self.peak_intensity_type[i].type
-
-
-    def get_temp_calibration(self, ri_label, frq_label):
-        """Return the temperature calibration method.
-
-        @param ri_label:    The relaxation data type, ie 'R1', 'R2', or 
'NOE'.
-        @type ri_label:     str
-        @param frq_label:   The field strength label.
-        @type frq_label:    str
-        @return:            The temperature calibration method.
-        @rtype:             str
-        """
-
-        # Find the matching container.
-        for i in range(len(self.temp_calibration)):
-            if self.temp_calibration[i].ri_label == ri_label and 
self.temp_calibration[i].frq_label == frq_label:
-                return self.temp_calibration[i].method
-
-
-    def get_temp_control(self, ri_label, frq_label):
-        """Return the temperature control method.
-
-        @param ri_label:    The relaxation data type, ie 'R1', 'R2', or 
'NOE'.
-        @type ri_label:     str
-        @param frq_label:   The field strength label.
-        @type frq_label:    str
-        @return:            The temperature control method.
-        @rtype:             str
-        """
-
-        # Find the matching container.
-        for i in range(len(self.temp_control)):
-            if self.temp_control[i].ri_label == ri_label and 
self.temp_control[i].frq_label == frq_label:
-                return self.temp_control[i].method
-
-
     def setup_peak_intensity_type(self, ri_id, type):
         """Store the peak intensity type.
 




Related Messages


Powered by MHonArc, Updated Wed Mar 02 11:40:01 2011