Author: bugman Date: Fri Nov 21 13:38:36 2008 New Revision: 8013 URL: http://svn.gna.org/viewcvs/relax?rev=8013&view=rev Log: Initialisation of the error_analysis() function. Modified: branches/spectral_errors/generic_fns/spectrum.py Modified: branches/spectral_errors/generic_fns/spectrum.py URL: http://svn.gna.org/viewcvs/relax/branches/spectral_errors/generic_fns/spectrum.py?rev=8013&r1=8012&r2=8013&view=diff ============================================================================== --- branches/spectral_errors/generic_fns/spectrum.py (original) +++ branches/spectral_errors/generic_fns/spectrum.py Fri Nov 21 13:38:36 2008 @@ -148,6 +148,20 @@ # Don't continue (waste of time). break + + +def error_analysis(): + """Determine the peak intensity standard deviation.""" + + # Test if the current pipe exists + pipes.test() + + # Test if the sequence data is loaded. + if not exists_mol_res_spin_data(): + raise RelaxNoSequenceError + + # Get the current data pipe. + cdp = pipes.get_pipe() def intensity_generic(line, int_col):