mailr8584 - /branches/multi_structure/data/mol_res_spin.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on January 22, 2009 - 14:18:
Author: bugman
Date: Thu Jan 22 14:18:51 2009
New Revision: 8584

URL: http://svn.gna.org/viewcvs/relax?rev=8584&view=rev
Log:
Fix for a RelaxError print out.


Modified:
    branches/multi_structure/data/mol_res_spin.py

Modified: branches/multi_structure/data/mol_res_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/multi_structure/data/mol_res_spin.py?rev=8584&r1=8583&r2=8584&view=diff
==============================================================================
--- branches/multi_structure/data/mol_res_spin.py (original)
+++ branches/multi_structure/data/mol_res_spin.py Thu Jan 22 14:18:51 2009
@@ -615,7 +615,7 @@
             # Test if the molecule name already exists.
             for i in xrange(len(self)):
                 if self[i].name == mol_name:
-                    raise RelaxError, "The molecule '" + `mol_name` + "' 
already exists in the sequence."
+                    raise RelaxError, "The molecule '%s' already exists in 
the sequence." % mol_name
 
             # Append an empty MoleculeContainer.
             self.append(MoleculeContainer(mol_name))




Related Messages


Powered by MHonArc, Updated Thu Jan 22 14:40:03 2009