Skip to content

Fix issue related to list conversion#1

Open
sameeravithana wants to merge 3 commits intoermongroup:masterfrom
sameeravithana:master
Open

Fix issue related to list conversion#1
sameeravithana wants to merge 3 commits intoermongroup:masterfrom
sameeravithana:master

Conversation

@sameeravithana
Copy link

Error:
File "../graphite/preprocessing.py", line 45, in pick_edges u, v = G_edges[i] File "../lib/python/site-packages/networkx/classes/reportviews.py", line 929, in __getitem__ u, v = e TypeError: 'int' object is not iterable
Fix by converting to lists.

@sameeravithana
Copy link
Author

This fix is required for the examples to run with networkx 2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments