Author: bugman Date: Sun Jan 13 12:44:04 2008 New Revision: 4670 URL: http://svn.gna.org/viewcvs/relax?rev=4670&view=rev Log: Fix for the spin_id arg of the model_free.create_model() 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=4670&r1=4669&r2=4670&view=diff ============================================================================== --- 1.3/prompt/model_free.py (original) +++ 1.3/prompt/model_free.py Sun Jan 13 12:44:04 2008 @@ -145,8 +145,8 @@ raise RelaxListStrError, ('parameter types', params) # 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.create_model(model=model, equation=equation, params=params, spin_id=spin_id)