Protool/electrostatics.py
def calculate_group_center(self,residue,atoms):
        """Calculate the center of the atoms"""
        ratoms=[]
        for atom in atoms:
            ratoms.append('%s:%s' %(residue,atom))
        return self.calculate_center(ratoms)
Calculate the center of the atoms
Calculate the center of the atoms
Calculate the center of the atoms
def calculate_group_center(self,residue,atoms):
        ratoms=[]
        for atom in atoms:
            ratoms.append('%s:%s' %(residue,atom))
        return self.calculate_center(ratoms)
def calculate_group_center ( self , residue , atoms ) : ratoms = [ ] for atom in atoms : ratoms . append ( '%s:%s' % ( residue , atom ) ) return self . calculate_center ( ratoms )
Calculate the center of the atoms
Calculate the center of the atoms
"""Calculate the center of the atoms"""
self
residue
atoms