def get_range_to_list(range_str):
    """
    Takes a range string (e.g. 123-125) and return the list
    """
    start = int(range_str.split('-')[0])
    end = int(range_str.split('-')[1])
    if start > end:
        print("Your range string is wrong, the start is larger than the end!", range_str)
    return range(start, end+1)