Protool/structure.py
def remove_atoms_with_tag(self,tag=''):
        """Remove all atoms with the specified tag"""
        for atom in self.atoms.keys():
            if self.atoms[atom].has_key('tag'):
                if self.atoms[atom]['tag']==tag:
                    self.remove_atom(atom)
        return
Remove all atoms with the specified tag
Remove all atoms with the specified tag
Remove all atoms with the specified tag
def remove_atoms_with_tag(self,tag=''):
        for atom in self.atoms.keys():
            if self.atoms[atom].has_key('tag'):
                if self.atoms[atom]['tag']==tag:
                    self.remove_atom(atom)
        return
def remove_atoms_with_tag ( self , tag = '' ) : for atom in self . atoms . keys ( ) : if self . atoms [ atom ] . has_key ( 'tag' ) : if self . atoms [ atom ] [ 'tag' ] == tag : self . remove_atom ( atom ) return
Remove all atoms with the specified tag
Remove all atoms with the specified tag
"""Remove all atoms with the specified tag"""
self
tag