Author: bugman Date: Mon Oct 8 19:20:38 2012 New Revision: 17763 URL: http://svn.gna.org/viewcvs/relax?rev=17763&view=rev Log: Another fix for the diffusion_tensor.init user function - it was not completely converted. 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=17763&r1=17762&r2=17763&view=diff ============================================================================== --- branches/tensor_data/generic_fns/diffusion_tensor.py (original) +++ branches/tensor_data/generic_fns/diffusion_tensor.py Mon Oct 8 19:20:38 2012 @@ -696,8 +696,8 @@ # Fold phi inside 0 and pi. if cdp.diff_tensor.phi >= pi: theta, phi = fold_spherical_angles(cdp.diff_tensor.theta, cdp.diff_tensor.phi) - cdp.diff_tensor.theta = theta - cdp.diff_tensor.phi = phi + cdp.diff_tensor.set(param='theta', value=theta) + cdp.diff_tensor.set(param='phi', value=phi) # Simulated theta and phi values. else: