Author: bugman Date: Thu Feb 21 10:21:58 2008 New Revision: 5084 URL: http://svn.gna.org/viewcvs/relax?rev=5084&view=rev Log: Fix for the cone_pdb() function. The cone edge is now the correct length. Modified: branches/N_state_model/specific_fns/n_state_model.py Modified: branches/N_state_model/specific_fns/n_state_model.py URL: http://svn.gna.org/viewcvs/relax/branches/N_state_model/specific_fns/n_state_model.py?rev=5084&r1=5083&r2=5084&view=diff ============================================================================== --- branches/N_state_model/specific_fns/n_state_model.py (original) +++ branches/N_state_model/specific_fns/n_state_model.py Thu Feb 21 10:21:58 2008 @@ -222,7 +222,7 @@ angle = cdp.theta_diff_in_cone elif cone_type == 'diff on cone': angle = cdp.theta_diff_on_cone - generic_fns.structure.cone_edge(atomic_data=atomic_data, res_num=res_num, apex=cdp.pivot_point, axis=cdp.rot_CoM/norm(cdp.rot_CoM), angle=angle, length=norm(cdp.red_CoM), inc=20) + generic_fns.structure.cone_edge(atomic_data=atomic_data, res_num=res_num, apex=cdp.pivot_point, axis=cdp.rot_CoM/norm(cdp.rot_CoM), angle=angle, length=norm(cdp.rot_CoM), inc=20) # Terminate the chain. generic_fns.structure.terminate(atomic_data=atomic_data, res_num=res_num)