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):