def iterate(infile):
    for line in infile.readlines():
        lca = LCA()
        lca = lca.parse(line)
        yield lca
LCA results iterator
dataset/ETHPy150Open CGATOxford/cgat/CGAT/LCA.py/iterate