Author: bugman Date: Thu Jan 22 16:48:07 2009 New Revision: 8605 URL: http://svn.gna.org/viewcvs/relax?rev=8605&view=rev Log: MolList.from_xml() now calls MolContainer.from_xml(). This will allow the different structural objects to set themselves up as appropriate. Modified: branches/multi_structure/generic_fns/structure/api_base.py Modified: branches/multi_structure/generic_fns/structure/api_base.py URL: http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/api_base.py?rev=8605&r1=8604&r2=8605&view=diff ============================================================================== --- branches/multi_structure/generic_fns/structure/api_base.py (original) +++ branches/multi_structure/generic_fns/structure/api_base.py Thu Jan 22 16:48:07 2009 @@ -970,8 +970,8 @@ name = None self.add_item(mol_name=name) - # Recreate the molecule data structures for the current molecule. - self[-1].mol.from_xml(mol_nodes) + # Execute the specific MolContainer from_xml() method. + self[-1].mol[-1].from_xml(mol_node) def to_xml(self, doc, element):