Author: bugman Date: Tue Nov 20 11:25:18 2007 New Revision: 3639 URL: http://svn.gna.org/viewcvs/relax?rev=3639&view=rev Log: Bug fix for the molecule.rename() user function - mol_id should be a str not an int! Modified: 1.3/prompt/molecule.py Modified: 1.3/prompt/molecule.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/molecule.py?rev=3639&r1=3638&r2=3639&view=diff ============================================================================== --- 1.3/prompt/molecule.py (original) +++ 1.3/prompt/molecule.py Tue Nov 20 11:25:18 2007 @@ -237,8 +237,8 @@ print text # Residue identification string. - if type(mol_id) != int: - raise RelaxIntError, ('molecule identification string', mol_id) + if type(mol_id) != str: + raise RelaxStrError, ('molecule identification string', mol_id) # New molecule name. if type(new_name) != str: