Closed dvarelas closed 4 years ago
Because networkx graphs are actually iterables of their nodes, you could also do this to avoid any possible discrepancies between networkx 1.X and 2.X:
node_names = list(nxGraph)
Fixed as per @cthoyt resolved
Sorry for lateness, I forgot to watch this repo when I made it
I am getting this error when trying to run the unit tests.
Do you think this line: https://github.com/VHRanger/graph2vec/blob/8474f7ccf5d9b34d82fbf5ac16f04bcc37143cd6/graph2vec/graph.py#L358
Should change to this: