Author: bugman Date: Fri Mar 20 16:55:06 2009 New Revision: 8987 URL: http://svn.gna.org/viewcvs/relax?rev=8987&view=rev Log: Bug fix for the results reading from_xml() method. The molecule name was being evaluated?!? 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=8987&r1=8986&r2=8987&view=diff ============================================================================== --- 1.3/data/mol_res_spin.py (original) +++ 1.3/data/mol_res_spin.py Fri Mar 20 16:55:06 2009 @@ -651,7 +651,7 @@ # Loop over the molecules. for mol_node in mol_nodes: # Get the molecule details and add the molecule to the MoleculeList structure. - name = eval(mol_node.getAttribute('name')) + name = mol_node.getAttribute('name') if name == 'None': name = None self.add_item(mol_name=name)