mailr20690 - /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 August 27, 2013 - 09:46:
Author: bugman
Date: Tue Aug 27 09:46:50 2013
New Revision: 20690

URL: http://svn.gna.org/viewcvs/relax?rev=20690&view=rev
Log:
Fix for the relax_disp.spin_lock_offset user function.

The cdp.dispersion_points structure was being updated when it should not be 
touched - a remnant of
the relax_disp.spin_lock_field backend which this code was copied from.


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=20690&r1=20689&r2=20690&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 27 
09:46:50 2013
@@ -1072,8 +1072,5 @@
     # Sort the list.
     cdp.spin_lock_offset_list.sort()
 
-    # Update the exponential curve count.
-    cdp.dispersion_points = len(cdp.spin_lock_offset_list)
-
     # Printout.
     print("Setting the '%s' spectrum spin-lock offset to %s ppm." % 
(spectrum_id, cdp.spin_lock_offset[spectrum_id]))




Related Messages


Powered by MHonArc, Updated Tue Aug 27 10:20:01 2013