Author: bugman Date: Wed Dec 3 21:20:47 2008 New Revision: 8111 URL: http://svn.gna.org/viewcvs/relax?rev=8111&view=rev Log: Another bug fix for the create_vector_dist() function. This time the atom number was not being incremented for chain B so that there are multiple atoms of the same number in the PDB file. Modified: 1.3/generic_fns/structure/geometric.py Modified: 1.3/generic_fns/structure/geometric.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/geometric.py?rev=8111&r1=8110&r2=8111&view=diff ============================================================================== --- 1.3/generic_fns/structure/geometric.py (original) +++ 1.3/generic_fns/structure/geometric.py Wed Dec 3 21:20:47 2008 @@ -419,6 +419,9 @@ # Connect the two atoms. structure.atom_connect(index1=atom_num-1, index2=atom_num) + + # Increment the atom number. + atom_num = atom_num + 2 # Create the PDB file.