Author: bugman Date: Tue Aug 20 17:53:31 2013 New Revision: 20641 URL: http://svn.gna.org/viewcvs/relax?rev=20641&view=rev Log: Improved the error message for when peak intensity data cannot be found in a dispersion analysis. This is to better aid the user to track down what they did wrong. Modified: branches/relax_disp/specific_analyses/relax_disp/disp_data.py Modified: branches/relax_disp/specific_analyses/relax_disp/disp_data.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_analyses/relax_disp/disp_data.py?rev=20641&r1=20640&r2=20641&view=diff ============================================================================== --- branches/relax_disp/specific_analyses/relax_disp/disp_data.py (original) +++ branches/relax_disp/specific_analyses/relax_disp/disp_data.py Tue Aug 20 17:53:31 2013 @@ -219,7 +219,7 @@ # Check for missing IDs. if len(ids) == 0: - raise RelaxError("No intensity key could be found corresponding to the spectrometer frequency %s, dispersion point %s and relaxation time %s." % (frq, point, time)) + raise RelaxError("No intensity data could be found corresponding to the spectrometer frequency of %s MHz, dispersion point of %s and relaxation time of %s s." % (frq*1e-6, point, time)) # Return the IDs. return ids