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))
_______________________________________________
relax (http://nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits