mailr13054 - /branches/gui_testing/data/gui.py


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

Header


Content

Posted by edward on June 15, 2011 - 18:33:
Author: bugman
Date: Wed Jun 15 18:33:00 2011
New Revision: 13054

URL: http://svn.gna.org/viewcvs/relax?rev=13054&view=rev
Log:
Fix for the from_xml() method based on the change to add() in the GUI 
analyses data object.


Modified:
    branches/gui_testing/data/gui.py

Modified: branches/gui_testing/data/gui.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/data/gui.py?rev=13054&r1=13053&r2=13054&view=diff
==============================================================================
--- branches/gui_testing/data/gui.py (original)
+++ branches/gui_testing/data/gui.py Wed Jun 15 18:33:00 2011
@@ -119,10 +119,10 @@
         # Loop over the nodes.
         for node in analysis_nodes:
             # Add a blank analysis container.
-            cont = self.add()
+            index = self.add()
 
             # Recreate the analysis container.
-            cont.from_xml(node)
+            self[index].from_xml(node)
 
 
 class Free_file_format(Element):




Related Messages


Powered by MHonArc, Updated Wed Jun 15 19:00:03 2011