Author: bugman Date: Thu Feb 21 09:39:59 2008 New Revision: 5071 URL: http://svn.gna.org/viewcvs/relax?rev=5071&view=rev Log: Fix for the cone_edge() function. The atom position is now calculated. Modified: 1.3/generic_fns/structure.py Modified: 1.3/generic_fns/structure.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure.py?rev=5071&r1=5070&r2=5071&view=diff ============================================================================== --- 1.3/generic_fns/structure.py (original) +++ 1.3/generic_fns/structure.py Thu Feb 21 09:39:59 2008 @@ -358,6 +358,9 @@ # The atom id. atom_id = 'T' + `i` + + # The atom position. + pos = apex+vector*length # 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')