Author: bugman Date: Thu Feb 21 16:20:36 2008 New Revision: 5113 URL: http://svn.gna.org/viewcvs/relax?rev=5113&view=rev Log: Modified the cone_pdb() function so that the cone edge and cap are now the same residue. Modified: 1.3/specific_fns/n_state_model.py Modified: 1.3/specific_fns/n_state_model.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/n_state_model.py?rev=5113&r1=5112&r2=5113&view=diff ============================================================================== --- 1.3/specific_fns/n_state_model.py (original) +++ 1.3/specific_fns/n_state_model.py Thu Feb 21 16:20:36 2008 @@ -240,7 +240,7 @@ # Generate the cone cap, and stitch it to the cone edge. if cone_type == 'diff in cone': print "\nGenerating the cone cap." - generic_fns.structure.generate_vector_dist(atomic_data=atomic_data, res_name='CON', res_num=4, centre=cdp.pivot_point, R=R, max_angle=angle, scale=norm(cdp.pivot_CoM), inc=inc) + generic_fns.structure.generate_vector_dist(atomic_data=atomic_data, res_name='CON', res_num=3, centre=cdp.pivot_point, R=R, max_angle=angle, scale=norm(cdp.pivot_CoM), inc=inc) generic_fns.structure.stitch_cap_to_cone(atomic_data=atomic_data, max_angle=angle, inc=inc) # Terminate the chain.