Protool/structure.py
def renumber_atoms(self):
        """Renumber all atoms based on their names"""
        count=0
        atoms=self.atoms.keys()
        atoms.sort()
        for atom in atoms:
            self.atoms[atom]['NUMBER']=count+1
            count=count+1
        return
Renumber all atoms based on their names
Renumber all atoms based on their names
Renumber all atoms based on their names
def renumber_atoms(self):
        count=0
        atoms=self.atoms.keys()
        atoms.sort()
        for atom in atoms:
            self.atoms[atom]['NUMBER']=count+1
            count=count+1
        return
def renumber_atoms ( self ) : count = 0 atoms = self . atoms . keys ( ) atoms . sort ( ) for atom in atoms : self . atoms [ atom ] [ 'NUMBER' ] = count + 1 count = count + 1 return
Renumber all atoms based on their names
Renumber all atoms based on their names
"""Renumber all atoms based on their names"""
self