Protool/geometry.py
def dist(self,atom1,atom2):
        """
        # Calculates the distance between two atoms
        """
        vector=self.GetPosition(atom1)-self.GetPosition(atom2)
        return length(vector)

        # Calculates the distance between two atoms
        
Calculates the distance between two atoms
Calculates the distance between two atoms
def dist(self,atom1,atom2):
        vector=self.GetPosition(atom1)-self.GetPosition(atom2)
        return length(vector)
def dist ( self , atom1 , atom2 ) : vector = self . GetPosition ( atom1 ) - self . GetPosition ( atom2 ) return length ( vector )
Calculates the distance between two atoms
Calculates the distance between two atoms
"""
        # Calculates the distance between two atoms
        """
self
atom1
atom2