Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Fize Jacques
GMatch4py
Commits
ecb66c9b
Commit
ecb66c9b
authored
Feb 20, 2019
by
Fize Jacques
Browse files
wandering print spotted
parent
f9fc6da5
Changes
1
Hide whitespace changes
Inline
Side-by-side
gmatch4py/graph.pyx
View file @
ecb66c9b
...
...
@@ -124,7 +124,6 @@ cdef class Graph:
self
.
edges_weight
=
{}
for
e1
,
e2
,
attr_dict
in
list
(
G
.
edges
(
data
=
True
)):
print
(
e1
,
e2
,
attr_dict
)
hash_
=
self
.
hash_edge_attr
(
e1
,
e2
,
attr_dict
[
self
.
edge_attr_key
])
if
self
.
is_edge_attr
else
self
.
hash_edge
(
e1
,
e2
)
self
.
edges_weight
[
hash_
]
=
attr_dict
[
"weight"
]
if
"weight"
in
attr_dict
else
1
...
...
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