Author: bugman Date: Sun Oct 12 22:14:47 2008 New Revision: 7682 URL: http://svn.gna.org/viewcvs/relax?rev=7682&view=rev Log: Fix for the setting of the theta and phi diff tensor angles from the Modelfree4 mfout file. The angles need to be passed in in radian units. Modified: 1.3/generic_fns/palmer.py Modified: 1.3/generic_fns/palmer.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/palmer.py?rev=7682&r1=7681&r2=7682&view=diff ============================================================================== --- 1.3/generic_fns/palmer.py (original) +++ 1.3/generic_fns/palmer.py Sun Oct 12 22:14:47 2008 @@ -662,7 +662,7 @@ phi_row = split(mfout_lines[diff_pos+3]) # Set the params. - diffusion_tensor.set([float(tm_row[2]), float(dratio_row[2]), float(theta_row[2]), float(phi_row[2])], ['tm', 'Dratio', 'theta', 'phi']) + diffusion_tensor.set([float(tm_row[2]), float(dratio_row[2]), float(theta_row[2])*2.0*pi/360.0, float(phi_row[2])*2.0*pi/360.0], ['tm', 'Dratio', 'theta', 'phi']) # Loop over the sequence. pos = 0