

def __iter__(self):
    fp = must_open(self.filename)
    while True:
        read_until(fp, '-----')
        nextline = fp.readline()
        nextline = nextline.readline()
        if (not nextline.strip()):
            break
        d = DelLine(nextline)
        (yield d)

dataset/ETHPy150Open tanghaibao/jcvi/variation/delly.py Delly.__iter__/VarMisuse@41/49 `fp`->`nextline`