Author: bugman Date: Wed Sep 4 11:38:17 2013 New Revision: 20796 URL: http://svn.gna.org/viewcvs/relax?rev=20796&view=rev Log: Fix for the y-axis in the per spin dispersion curve plots. This fix follows from the thread http://thread.gmane.org/gmane.science.nmr.relax.devel/4512. The test for CPMG-type data was incorrect and should use the CPMG_EXP variable. 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=20796&r1=20795&r2=20796&view=diff ============================================================================== --- branches/relax_disp/specific_analyses/relax_disp/disp_data.py (original) +++ branches/relax_disp/specific_analyses/relax_disp/disp_data.py Wed Sep 4 11:38:17 2013 @@ -505,7 +505,7 @@ data[-1][-1].append(spin.r2eff_err[key]) # The axis labels. - if cdp.exp_type == 'CPMG': + if cdp.exp_type in CPMG_EXP: axis_labels = ['\\qCPMG pulse train frequency (Hz)\\Q', '\\qR\\s2,eff\\N\\Q (rad.s\\S-1\\N)'] else: axis_labels = ['\\qSpin-lock field strength (Hz)\\Q', '\\qR\\s1\\xr\\B\\N\\Q (rad.s\\S-1\\N)']