def iter_frames(self):
        'iterate over the 6 possible frames, yielding TranslationAnnot'
        for frame in ('0', '1', '2', '-0', '-1', '-2'):
            yield self.db.annodb['%s:%s' % (self.id, frame)]
dataset/ETHPy150Open cjlee112/pygr/pygr/translationDB.py/SeqTranslator.iter_frames/original