def get_cat(cell_name, cats):
    """
    return the category to which the cell_name belongs to
    """
    for cat in cats:
        if cat in cell_name:
            return cat
    raise ValueError(f'{cell_name} seem to not belong to any category {cats}')