Author: bugman Date: Fri Sep 26 16:50:24 2008 New Revision: 7345 URL: http://svn.gna.org/viewcvs/relax?rev=7345&view=rev Log: Renamed an incorrectly named variable. Modified: 1.3/data/pipe_container.py Modified: 1.3/data/pipe_container.py URL: http://svn.gna.org/viewcvs/relax/1.3/data/pipe_container.py?rev=7345&r1=7344&r2=7345&view=diff ============================================================================== --- 1.3/data/pipe_container.py (original) +++ 1.3/data/pipe_container.py Fri Sep 26 16:50:24 2008 @@ -140,10 +140,10 @@ self.mol.from_xml(mol_nodes) # Get the structural object nodes and, if they exist, fill the contents. - str_tensor_nodes = relax_node.getElementsByTagName('structure') - if str_tensor_nodes: + str_nodes = relax_node.getElementsByTagName('structure') + if str_nodes: # Get the object type. - parser = str(str_tensor_nodes[0].getAttribute('id')) + parser = str(str_nodes[0].getAttribute('id')) # Create the structural object. if parser == 'scientific': @@ -155,7 +155,7 @@ pass # Fill its contents. - self.structure.from_xml(str_tensor_nodes[0]) + self.structure.from_xml(str_nodes[0]) def is_empty(self):