Author: bugman Date: Wed Jun 25 02:19:08 2008 New Revision: 6494 URL: http://svn.gna.org/viewcvs/relax?rev=6494&view=rev Log: Fix for the MoleculeList method xml_create_element() - all attributes must be strings. Modified: 1.3/data/mol_res_spin.py Modified: 1.3/data/mol_res_spin.py URL: http://svn.gna.org/viewcvs/relax/1.3/data/mol_res_spin.py?rev=6494&r1=6493&r2=6494&view=diff ============================================================================== --- 1.3/data/mol_res_spin.py (original) +++ 1.3/data/mol_res_spin.py Wed Jun 25 02:19:08 2008 @@ -595,7 +595,7 @@ # Set the molecule attributes. mol_element.setAttribute('desc', 'Molecule container') - mol_element.setAttribute('name', self[i].name) + mol_element.setAttribute('name', str(self[i].name)) # Add all simple python objects within the MoleculeContainer to the XML element. fill_object_contents(doc, mol_element, object=self[i], blacklist=['name', 'res'] + self[i].__class__.__dict__.keys())