Protool/structure.py
def Remove_All_NonAminoAcids(self):
        """Remove all non amino acid residues"""
        for residue in self.residues.keys():
            if not self.isaa(residue):
                for atom in self.residues[residue]:
                    del self.atoms[atom]
        self.Update()
        return
Remove all non amino acid residues
Remove all non amino acid residues
Remove all non amino acid residues
def Remove_All_NonAminoAcids(self):
        for residue in self.residues.keys():
            if not self.isaa(residue):
                for atom in self.residues[residue]:
                    del self.atoms[atom]
        self.Update()
        return
def Remove_All_NonAminoAcids ( self ) : for residue in self . residues . keys ( ) : if not self . isaa ( residue ) : for atom in self . residues [ residue ] : del self . atoms [ atom ] self . Update ( ) return
Remove all non amino acid residues
Remove all non amino acid residues
"""Remove all non amino acid residues"""
self