mailr10876 - /branches/bmrb/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 February 23, 2010 - 22:02:
Author: bugman
Date: Tue Feb 23 22:02:55 2010
New Revision: 10876

URL: http://svn.gna.org/viewcvs/relax?rev=10876&view=rev
Log:
Fix for the PipeContainer.from_xml() method.

The experimental information container was been searched for in the wrong 
node (actually an
undeclared variable).


Modified:
    branches/bmrb/data/pipe_container.py

Modified: branches/bmrb/data/pipe_container.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bmrb/data/pipe_container.py?rev=10876&r1=10875&r2=10876&view=diff
==============================================================================
--- branches/bmrb/data/pipe_container.py (original)
+++ branches/bmrb/data/pipe_container.py Tue Feb 23 22:02:55 2010
@@ -124,7 +124,7 @@
         setattr(self, 'hybrid_pipes', 
node_value_to_python(pipes_node.childNodes[0]))
 
         # Get the experimental information data nodes and, if they exist, 
fill the contents.
-        exp_info_nodes = relax_node.getElementsByTagName('exp_info')
+        exp_info_nodes = pipe_node.getElementsByTagName('exp_info')
         if exp_info_nodes:
             # Create the data container.
             self.exp_info = ExpInfo()




Related Messages


Powered by MHonArc, Updated Tue Feb 23 22:40:03 2010