-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup test error (networkx): TypeError: add_node() takes 2 positional arguments but 3 were given #29
Comments
read as "takes 1 positional argument but 2 given", (discount self argument in the class def). Attributes have to be given as key word arguments |
This is because @john-arul1 To be specific about the error Victoria was seeing, what was needed was to change the @victoriastuart You'll be able to clone my fork of this repo and make hypergraph stuff. In a perfect world, the PR will be merged and a new version released to PyPi. @annaritz @tmmurali @bavent Any chance of the above happening? :-) |
@annaritz Thank you for merging the PR! https://pypi.org/project/halp/ looks like a new release hasn't been cut yet (current one is from @bavent from 2014). I'll be pleased to assist if that would be useful. |
@tmmurali Thank you for rapid response! https://pypi.org/help/#request-ownership suggests it absolutely is possible. |
If I had (insert currency unit) for each time I asked something that I could theoretically have found out myself... I'm not judging! :-D |
...
nx_graph = nx.Graph()
E TypeError: add_node() takes 2 positional arguments but 3 were given
halp/utilities/undirected_graph_transformations.py:71: TypeError
...
The text was updated successfully, but these errors were encountered: