def _map_list_types(hit_list, col_type):
    # TODO: handle missing because of VCF.
    try:
        if col_type in ("int", "integer"):
            return [int(h) for h in hit_list if not h in (None, 'nan')]
        elif col_type == "float":
            return [float(h) for h in hit_list if not h in (None, 'nan')]
    except __HOLE__:
        sys.exit('Non-numeric value found in annotation file: %s\n' % (','.join(hit_list)))
dataset/ETHPy150Open arq5x/gemini/gemini/gemini_annotate.py/_map_list_types