mailr19987 - /branches/relax_disp/specific_analyses/relax_disp/disp_data.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on June 09, 2013 - 13:34:
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):




Related Messages


Powered by MHonArc, Updated Sun Jun 09 13:40:01 2013