There appears to be a bug in pdb_contact.py code: to compare the distances
between atoms and the specified cutoff, the distance squared between the atoms
is compared to the cutoff instead of the cutoff squared (cutoff_sq). It seems
cutoff_sq was meant to be used in place of cutoff in the line below (and would
fix the issue).
line 37: if sum([(a[1][i]-t[1][i])**2 for i in range(3)]) < cutoff:
Original issue reported on code.google.com by swlivia...@gmail.com on 11 Jul 2014 at 9:19
Original issue reported on code.google.com by
swlivia...@gmail.com
on 11 Jul 2014 at 9:19