Author: bugman Date: Sun Jan 13 12:45:07 2008 New Revision: 4671 URL: http://svn.gna.org/viewcvs/relax?rev=4671&view=rev Log: Fix for the spin_id arg of the model_free.remove_tm() user function. Modified: 1.3/prompt/model_free.py Modified: 1.3/prompt/model_free.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/model_free.py?rev=4671&r1=4670&r2=4671&view=diff ============================================================================== --- 1.3/prompt/model_free.py (original) +++ 1.3/prompt/model_free.py Sun Jan 13 12:45:07 2008 @@ -205,8 +205,8 @@ print text # Spin identification string. - if spin_id != None and type(spin_id) != int: - raise RelaxNoneIntError, ('spin identification string', spin_id) + if spin_id != None and type(spin_id) != str: + raise RelaxNoneStrError, ('spin identification string', spin_id) # Execute the functional code. model_free.remove_tm(spin_id=spin_id)