mailr7345 - /1.3/data/pipe_container.py


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

Header


Content

Posted by edward on September 26, 2008 - 16:50:
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):




Related Messages


Powered by MHonArc, Updated Fri Sep 26 17:20:03 2008