Commit 58584141 authored by dirk.wintergruen's avatar dirk.wintergruen
Browse files

fixed an error if s=e

parent 44d1de77
......@@ -780,7 +780,7 @@ def projectBipartiteProcess2(data):
try:
s_n = ng.vs.find(name=og.vs[s]["name"])
# s_n = new_nodes[og.vs[s]["name"]]
except KeyError:
except ValueError:
ng.add_vertex(**og.vs[s].attributes())
s_n = ng.vs.find(name=og.vs[s]["name"])
# new_nodes[og.vs[s]["name"]] = og.vs[s].attributes()
......
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