mailr9539 - /1.3/data/align_tensor.py


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

Header


Content

Posted by edward on September 18, 2009 - 19:15:
Author: bugman
Date: Fri Sep 18 19:15:06 2009
New Revision: 9539

URL: http://svn.gna.org/viewcvs/relax?rev=9539&view=rev
Log:
Reverted r9538.  The wrong file was committed!

The command used was:
svn merge -r9538:9537 .


Modified:
    1.3/data/align_tensor.py

Modified: 1.3/data/align_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/data/align_tensor.py?rev=9539&r1=9538&r2=9539&view=diff
==============================================================================
--- 1.3/data/align_tensor.py (original)
+++ 1.3/data/align_tensor.py Fri Sep 18 19:15:06 2009
@@ -613,18 +613,12 @@
         self.append(AlignTensorData(name))
 
 
-    def from_xml(self, align_tensor_super_node):
+    def from_xml(self, align_tensor_nodes):
         """Recreate the alignment tensor data structure from the XML 
alignment tensor node.
 
-        @param align_tensor_super_node: The alignment tensor XML super node.
-        @type align_tensor_super_node:  list of xml.dom.minicompat.Element 
instances
+        @param align_tensor_nodes:  The alignment tensor XML nodes.
+        @type align_tensor_nodes:   list of xml.dom.minicompat.Element 
instances
         """
-
-        # Recreate all the alignment tensor data structures.
-        xml_to_object(align_tensor_super_node, self)
-
-        # Get the individual tensors.
-        align_tensor_nodes = 
align_tensor_super_node.getElementsByTagName('align_tensor')
 
         # Loop over the child nodes.
         for align_tensor_node in align_tensor_nodes:




Related Messages


Powered by MHonArc, Updated Fri Sep 18 19:20:03 2009