Author: bugman Date: Tue Jan 24 10:18:12 2012 New Revision: 15220 URL: http://svn.gna.org/viewcvs/relax?rev=15220&view=rev Log: Added a print out for the diffusion_tensor.init uf to inform the user of an angle unit change. This is in response to bug #19323 (https://gna.org/bugs/?19323), to make it clearer that a parameter conversion has occurred. Modified: 1.3/generic_fns/diffusion_tensor.py Modified: 1.3/generic_fns/diffusion_tensor.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/diffusion_tensor.py?rev=15220&r1=15219&r2=15220&view=diff ============================================================================== --- 1.3/generic_fns/diffusion_tensor.py (original) +++ 1.3/generic_fns/diffusion_tensor.py Tue Jan 24 10:18:12 2012 @@ -599,6 +599,7 @@ # Convert the angles to radians. if angle_units == 'deg': + print("Converting the angles from degrees to radian units.") alpha = (alpha / 360.0) * 2.0 * pi beta = (beta / 360.0) * 2.0 * pi gamma = (gamma / 360.0) * 2.0 * pi @@ -1709,6 +1710,7 @@ # Convert the angles to radians. if angle_units == 'deg': + print("Converting the angles from degrees to radian units.") theta = (theta / 360.0) * 2.0 * pi phi = (phi / 360.0) * 2.0 * pi