Author: bugman Date: Fri Sep 18 19:11:30 2009 New Revision: 9538 URL: http://svn.gna.org/viewcvs/relax?rev=9538&view=rev Log: Added the blacklist arg to xml_to_object(). 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=9538&r1=9537&r2=9538&view=diff ============================================================================== --- 1.3/data/align_tensor.py (original) +++ 1.3/data/align_tensor.py Fri Sep 18 19:11:30 2009 @@ -613,12 +613,18 @@ self.append(AlignTensorData(name)) - def from_xml(self, align_tensor_nodes): + def from_xml(self, align_tensor_super_node): """Recreate the alignment tensor data structure from the XML alignment tensor node. - @param align_tensor_nodes: The alignment tensor XML nodes. - @type align_tensor_nodes: list of xml.dom.minicompat.Element instances + @param align_tensor_super_node: The alignment tensor XML super node. + @type align_tensor_super_node: 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: