mailr8951 - /branches/bmrb/bmrblib/kinetics/relax_base.py


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

Header


Content

Posted by edward on March 10, 2009 - 14:19:
Author: bugman
Date: Tue Mar 10 14:19:36 2009
New Revision: 8951

URL: http://svn.gna.org/viewcvs/relax?rev=8951&view=rev
Log:
Fixed the reading of relaxation data.


Modified:
    branches/bmrb/bmrblib/kinetics/relax_base.py

Modified: branches/bmrb/bmrblib/kinetics/relax_base.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bmrb/bmrblib/kinetics/relax_base.py?rev=8951&r1=8950&r2=8951&view=diff
==============================================================================
--- branches/bmrb/bmrblib/kinetics/relax_base.py (original)
+++ branches/bmrb/bmrblib/kinetics/relax_base.py Tue Mar 10 14:19:36 2009
@@ -39,6 +39,12 @@
                     float
         """
 
+        # Set up the version specific variables.
+        self.specific_setup()
+
+        # Get the saveframe name.
+        sf_name = getattr(self, 'cat_name')[0]
+
         # Loop over all datanodes.
         for datanode in self.datanodes:
             # Find the Heteronuclear Rx saveframes via the SfCategory tag 
index.
@@ -47,7 +53,7 @@
                 # First match the tag names.
                 if datanode.tagtables[0].tagnames[index] == 
self.heteronuclRxlist.create_tag_label(self.heteronuclRxlist.tag_names['SfCategory']):
                     # Then the tag value.
-                    if datanode.tagtables[0].tagvalues[index][0] == 
self.label+'_relaxation':
+                    if datanode.tagtables[0].tagvalues[index][0] == sf_name:
                         found = True
                         break
 




Related Messages


Powered by MHonArc, Updated Tue Mar 10 14:40:04 2009