def get_residues(self):
    'Return residues from chains.'
    for c in self.get_chains():
        (yield from c)
Return residues from chains.
def get_residues(self):
    
    for c in self.get_chains():
        (yield from c)