Closed nwlandry closed 8 months ago
When I run
weights = dict(zip(list(H.edges), np.random.choice([-1, 1], size=m))) H.set_edge_attributes(weights, name="weight")
I get the error Edge <id> does not exist! I have an easy fix for this which I will push.
Edge <id> does not exist!
When I run
I get the error
Edge <id> does not exist!
I have an easy fix for this which I will push.