Author: bugman Date: Mon Apr 21 15:38:46 2008 New Revision: 5924 URL: http://svn.gna.org/viewcvs/relax?rev=5924&view=rev Log: Created the RelaxSpinsNotLoadedError 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=5924&r1=5923&r2=5924&view=diff ============================================================================== --- 1.3/relax_errors.py (original) +++ 1.3/relax_errors.py Mon Apr 21 15:38:46 2008 @@ -493,6 +493,14 @@ if Debug: self.save_state() +# The spins have not been loaded +class RelaxSpinsNotLoadedError(BaseError): + def __init__(self, spin_id): + self.text = "The spin information for the spin " + `spin_id` + " has not yet been loaded, please use the structure.load_spins() user function." + if Debug: + self.save_state() + + # Relaxation data errors.