Author: bugman Date: Sun Jun 9 13:34:31 2013 New Revision: 19987 URL: http://svn.gna.org/viewcvs/relax?rev=19987&view=rev Log: Fix for the specific_analyses.relax_disp.disp_data.return_value_from_frq_index() function. This cdp.spectrometer_frq_list list structure rather than the cdp.spectrometer_frq dictionary should be used. 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=19987&r1=19986&r2=19987&view=diff ============================================================================== --- branches/relax_disp/specific_analyses/relax_disp/disp_data.py (original) +++ branches/relax_disp/specific_analyses/relax_disp/disp_data.py Sun Jun 9 13:34:31 2013 @@ -679,11 +679,11 @@ """ # No data. - if not hasattr(cdp, 'spectrometer_frq'): + if not hasattr(cdp, 'spectrometer_frq_list'): return None # Return the field. - return cdp.spectrometer_frq[frq_index] + return cdp.spectrometer_frq_list[frq_index] def spin_has_frq_data(spin=None, frq=None):