def _update_longest(self, orf_start, index, direction, frame):
        orf_end = index
        L = orf_end - orf_start
        if L > self.longest:
            self.longest = L
            self.result = [direction, frame, orf_start, orf_end, L]
dataset/ETHPy150Open tanghaibao/jcvi/formats/fasta.py/ORFFinder._update_longest/original