Author: bugman Date: Sun Jun 22 01:27:52 2008 New Revision: 6359 URL: http://svn.gna.org/viewcvs/relax?rev=6359&view=rev Log: Created the new error class RelaxNoSpinSpecError. 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=6359&r1=6358&r2=6359&view=diff ============================================================================== --- 1.3/relax_errors.py (original) +++ 1.3/relax_errors.py Sun Jun 22 01:27:52 2008 @@ -646,6 +646,14 @@ if Debug: self.save_state() +# The spin must be specified. +class RelaxNoSpinSpecError(BaseError): + def __init__(self): + self.text = "The spin system must be specified." + if Debug: + self.save_state() + + # Setup errors. ###############