Author: bugman Date: Mon Jan 19 14:08:52 2009 New Revision: 8526 URL: http://svn.gna.org/viewcvs/relax?rev=8526&view=rev Log: Bug fix for the Base_struct_API.to_xml() method. The model XML elements are now children of the structure XML element. 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=8526&r1=8525&r2=8526&view=diff ============================================================================== --- branches/multi_structure/generic_fns/structure/api_base.py (original) +++ branches/multi_structure/generic_fns/structure/api_base.py Mon Jan 19 14:08:52 2009 @@ -442,7 +442,7 @@ # No contents to store, so pack up the structural containers. if not self.structural_data.is_empty(): - self.structural_data.to_xml(doc, element) + self.structural_data.to_xml(doc, str_element) def write_pdb(self, file, struct_index=None):