def remove_duplicates(repeats_data):
    """
    Removes repeats from a list
    """
    repeats = []
    for r in repeats_data:
        if r not in repeats:
            repeats.append(r)
    return repeats