Commit 557070ca authored by delanoe's avatar delanoe

[TEST] line to test the graph.

parent 6f11445e
......@@ -118,6 +118,7 @@ def do_distance(cooc_id, field1=None, field2=None, isMonopartite=True):
for n in nodes_too_connected:
n_edges = list()
for v in nx.neighbors(G,n):
#print((n, v), G[n][v]['weight'], ":", (v,n), G[v][n]['weight'])
n_edges.append(((n, v), G[n][v]['weight']))
n_edges_sorted = sorted(n_edges, key=getWeight, reverse=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment