def read_connections(file_name, point_names):

    connections = []
    fid = open(file_name, 'r')
    line=fid.readline()
    while(line):
        connections.append(np.array(line.split(',')))
        connections[-1][0] = connections[-1][0].strip()
        connections[-1][1] = connections[-1][1].strip()
        line = fid.readline()
    connect = np.zeros((len(point_names), len(point_names)),dtype=bool)
    for i in range(len(point_names)):
        for j in range(len(point_names)):
            for k in range(len(connections)):
                if connections[k][0] == point_names[i] and connections[k][1] == point_names[j]:
                    
                    connect[i,j]=True
                    connect[j,i]=True
                    break
    
    return connect
Removes documents from the full-text index.
dataset/ETHPy150Open SheffieldML/GPy/GPy/util/mocap.py/read_connections--crossover with--dataset/ETHPy150Open basho/riak-python-client/riak/transports/http/transport.py/HttpTransport.fulltext_delete