graphite icon indicating copy to clipboard operation
graphite copied to clipboard

Fix issue related to list conversion

Open sameeravithana opened this issue 7 years ago • 1 comments

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 avatar Aug 12 '18 06:08 sameeravithana

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

sameeravithana avatar Aug 12 '18 06:08 sameeravithana