Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dirk.wintergruen
network_extensions
Commits
b51c4f50
Commit
b51c4f50
authored
Jul 30, 2021
by
dirk.wintergruen
Browse files
bug in calctop
parent
5bb7ea95
Changes
1
Hide whitespace changes
Inline
Side-by-side
network_extensions/igraphx/__init__.py
View file @
b51c4f50
...
...
@@ -1498,10 +1498,10 @@ def calcTop(
if
displayAttr2
is
not
None
:
id_attr
=
(
getA
(
n
,
displayAttr
).
strip
(),
getA
(
n
,
displayAttr2
))
else
:
s_n
=
ng
.
vs
[
n
.
source
()
]
s_n
=
ng
.
vs
[
n
.
source
]
s_id
=
getA
(
s_n
,
displayAttr
).
strip
()
t_n
=
ng
.
vs
[
n
.
target
()
]
t_n
=
ng
.
vs
[
n
.
target
]
t_id
=
getA
(
t_n
,
displayAttr
).
strip
()
id_attr
=
f
"
{
s_id
}
-
{
t_id
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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