Author: bugman Date: Thu Feb 21 10:26:35 2008 New Revision: 5086 URL: http://svn.gna.org/viewcvs/relax?rev=5086&view=rev Log: Merged revisions 5085 via svnmerge from svn+ssh://bugman@xxxxxxxxxxx/svn/relax/1.3 ........ r5085 | bugman | 2008-02-21 10:23:52 +0100 (Thu, 21 Feb 2008) | 3 lines The circle part of the cone is now zipped up. ........ Modified: branches/N_state_model/ (props changed) branches/N_state_model/generic_fns/structure.py Propchange: branches/N_state_model/ ------------------------------------------------------------------------------ Binary property 'svnmerge-integrated' - no diff available. Modified: branches/N_state_model/generic_fns/structure.py URL: http://svn.gna.org/viewcvs/relax/branches/N_state_model/generic_fns/structure.py?rev=5086&r1=5085&r2=5086&view=diff ============================================================================== --- branches/N_state_model/generic_fns/structure.py (original) +++ branches/N_state_model/generic_fns/structure.py Thu Feb 21 10:26:35 2008 @@ -365,9 +365,14 @@ # Add the vector as a H atom of the CON residue. atom_add(atomic_data=atomic_data, atom_id=atom_id, record_name='HETATM', atom_name='H'+`atom_num`, res_name='CON', res_num=res_num, pos=pos, element='H') - # Connect across the radial arrays (to generate the latitudinal lines). + # Connect across the radial array (to generate the circular cone edge). if i != 0: neighbour_id = 'T' + `i-1` + atom_connect(atomic_data=atomic_data, atom_id=atom_id, bonded_id=neighbour_id) + + # Connect the last radial array to the first (to zip up the circle). + if i == inc-1: + neighbour_id = 'T' + `0` atom_connect(atomic_data=atomic_data, atom_id=atom_id, bonded_id=neighbour_id) # Increment the atom number.