Author: bugman Date: Tue Nov 27 13:21:48 2007 New Revision: 4075 URL: http://svn.gna.org/viewcvs/relax?rev=4075&view=rev Log: Created the RelaxNoSpinError class. Modified: 1.3/relax_errors.py Modified: 1.3/relax_errors.py URL: http://svn.gna.org/viewcvs/relax/1.3/relax_errors.py?rev=4075&r1=4074&r2=4075&view=diff ============================================================================== --- 1.3/relax_errors.py (original) +++ 1.3/relax_errors.py Tue Nov 27 13:21:48 2007 @@ -425,6 +425,13 @@ if Debug: self.save_state() +# Cannot find the spin in the sequence. +class RelaxNoSpinError(BaseError): + def __init__(self, id): + self.text = "The spin " + `id` + " does not exist." + if Debug: + self.save_state() + # The sequence data is not valid. class RelaxInvalidSeqError(BaseError): def __init__(self, line):