mailr17766 - /branches/tensor_data/generic_fns/diffusion_tensor.py


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

Header


Content

Posted by edward on October 08, 2012 - 19:36:
Author: bugman
Date: Mon Oct  8 19:36:16 2012
New Revision: 17766

URL: http://svn.gna.org/viewcvs/relax?rev=17766&view=rev
Log:
Another fix for the fold_angles() diffusion tensor function - again an 
incomplete design conversion.


Modified:
    branches/tensor_data/generic_fns/diffusion_tensor.py

Modified: branches/tensor_data/generic_fns/diffusion_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/tensor_data/generic_fns/diffusion_tensor.py?rev=17766&r1=17765&r2=17766&view=diff
==============================================================================
--- branches/tensor_data/generic_fns/diffusion_tensor.py (original)
+++ branches/tensor_data/generic_fns/diffusion_tensor.py Mon Oct  8 19:36:16 
2012
@@ -715,7 +715,7 @@
         if sim_index == None:
             # Fold alpha inside 0 and pi.
             if cdp.diff_tensor.alpha >= pi:
-                cdp.diff_tensor.alpha = cdp.diff_tensor.alpha - pi
+                cdp.diff_tensor.set(param='alpha', 
value=cdp.diff_tensor.alpha - pi)
 
             # Fold beta inside 0 and pi.
             if cdp.diff_tensor.beta >= pi:




Related Messages


Powered by MHonArc, Updated Mon Oct 08 20:00:01 2012