def parseRegionsFile(regsPath):

    regionsData = open(regsPath, 'r').read().splitlines()
    init_x_list = []
    init_y_list = []
    for i in range(0, len(regionsData)):
        if regionsData[i][0:6] == 'circle':
            y, x = split("\,", split("\(", regionsData[i])[1])[0:2]
            init_y_list.append(float(y))
            init_x_list.append(float(x))
    return init_x_list, init_y_list
Parse a regions file for a set of data.
dataset/ETHPy150Open OSCAAR/OSCAAR/oscaar/IO.py/parseRegionsFile