def listToIndiceString(my_list):
    """
    for example:
    turns [[1,2,63,7], [5,2,986], [305,3], []]
    into 1,2,63,7;5,2,986;305,3;
    """
    output = ";".join([",".join([str(int(item)) for item in row]) for row in my_list])
    return output