def parseIntList(string):
    """Parses a comma-separated string of ints into a list"""
    splitarray = string.split(",")
    int_list = [] 
    for elem in splitarray:
        int_list.append(int(elem))
    return int_list