Commit 9dc8dcfd authored by dirk.wintergruen's avatar dirk.wintergruen
Browse files

bug in parrallel2 fixed

parent 58584141
......@@ -997,12 +997,12 @@ def projectBipartiteParallel2(
os.makedirs(path)
for i in range(0, len(graphs)):
graphs[i].write(path + "%s.graphml" % i)
graphs[i][0].write(path + "%s.graphml" % i)
for gr in graphs[1:]:
try:
ret_gr = union(ret_gr, gr, vattr_name, eattr_name)
ret_gr = union(ret_gr, gr[0], vattr_name, eattr_name)
except AssertionError:
print(ret_gr.vs[vattr_name])
print(gr.vs[vattr_name])
......
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