Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dirk.wintergruen
network_extensions
Commits
58584141
Commit
58584141
authored
Nov 03, 2021
by
dirk.wintergruen
Browse files
fixed an error if s=e
parent
44d1de77
Changes
1
Hide whitespace changes
Inline
Side-by-side
network_extensions/igraphx/__init__.py
View file @
58584141
...
...
@@ -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
Key
Error
:
except
Value
Error
:
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()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment