def parse_graph6(str):
    def bits():
        """Return sequence of individual bits from 6-bit-per-value
        list of data values."""
        for d in data:
            for i in [5,4,3,2,1,0]:
                yield (d>>i)&1

    if str.startswith('>>graph6<<'):
        str = str[10:]
    data = graph6data(str)
    n, data = graph6n(data)
    nd = (n*(n-1)//2 + 5) // 6
    if len(data) != nd:
        raise NetworkXError(\
            'Expected %d bits but got %d in graph6' % (n*(n-1)//2, len(data)*6))

    G=nx.Graph()
    G.add_nodes_from(range(n))
    for (i,j),b in zip([(i,j) for j in range(1,n) for i in range(j)], bits()):
        if b: G.add_edge(i,j)
    return G
Re/load Romeo data files parse them and create object
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/readwrite/sparsegraph6.py/parse_graph6--crossover with--dataset/ETHPy150Open OrbitzWorldwide/droned/romeo/lib/romeo/__init__.py/reload