Author: bugman Date: Sun Jun 22 19:09:33 2008 New Revision: 6432 URL: http://svn.gna.org/viewcvs/relax?rev=6432&view=rev Log: Fix for the xml_create_element() method. 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=6432&r1=6431&r2=6432&view=diff ============================================================================== --- 1.3/data/align_tensor.py (original) +++ 1.3/data/align_tensor.py Sun Jun 22 19:09:33 2008 @@ -580,8 +580,8 @@ # Create an XML element for a single tensor. tensor_element = doc.createElement('align_tensor') tensor_list_element.appendChild(tensor_element) - tensor_list_element.setAttribute('index', `i`) - tensor_list_element.setAttribute('desc', 'Alignment tensor') + tensor_element.setAttribute('index', `i`) + tensor_element.setAttribute('desc', 'Alignment tensor') # Add all simple python objects within the PipeContainer to the pipe element. fill_object_contents(doc, tensor_element, object=self[i], blacklist=self[i].__class__.__dict__.keys())