def _analyze_gens(gens):
    if len(gens) == 1 and hasattr(gens[0], '__iter__'):
        return tuple(gens[0])
    else:
        return tuple(gens)
read records from file and return as list.
dataset/ETHPy150Open sympy/sympy/sympy/polys/polyutils.py/_analyze_gens--crossover with--dataset/ETHPy150Open CGATOxford/cgat/CGAT/GTF.py/readFromFile