Author: bugman Date: Wed May 7 16:58:15 2008 New Revision: 6128 URL: http://svn.gna.org/viewcvs/relax?rev=6128&view=rev Log: Created the new warning RelaxNoSpinWarning. Modified: 1.3/relax_warnings.py Modified: 1.3/relax_warnings.py URL: http://svn.gna.org/viewcvs/relax/1.3/relax_warnings.py?rev=6128&r1=6127&r2=6128&view=diff ============================================================================== --- 1.3/relax_warnings.py (original) +++ 1.3/relax_warnings.py Wed May 7 16:58:15 2008 @@ -83,6 +83,15 @@ self.text = text +# Sequence errors. +################## + +# Cannot find the spin in the sequence. +class RelaxNoSpinWarning(BaseWarning): + def __init__(self, id): + self.text = "The spin " + `id` + " does not exist." + + # PDB warnings. ###############