Hi
You're passing more than one atom per selection to the cmd.distance()
function, in which case the function returns the average between the
measured distances (http://pymolwiki.org/index.php/Distance#PYMOL_API ).
On a side note, this could be done much simpler:
fetch 2nuz, async=0
h_add resn LE
Hello ,
I am a new Pymol user. I am trying to calculate all the H-H distances between
the methyl protons (CH3) in different Leucine residues in a protein, which are
within 5A. For some reason, if I rerun the program with a distance threshold of
2A, I get different values for the same atoms. Here