Skip to content
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

Bugs in the Network tool #82

Open
CsatiZoltan opened this issue Feb 14, 2020 · 5 comments
Open

Bugs in the Network tool #82

CsatiZoltan opened this issue Feb 14, 2020 · 5 comments
Assignees

Comments

@CsatiZoltan
Copy link
Contributor

CsatiZoltan commented Feb 14, 2020

For the network tool to work with Python 3.7.6, we need some changes:

@CsatiZoltan
Copy link
Contributor Author

Remark: the reason why the "Build Graph" tool works in the standalone Windows version is because it uses networkx 2.2. In fact, the previously mentioned issue with the node attribute was deprecated since version 2.2, and was removed in version 2.4.

@yxdragon
Copy link
Member

I just replace all the "node[" by "nodes[", And now every thing is ok for me. I had pushed. have a try?

@CsatiZoltan
Copy link
Contributor Author

Yes, that solves the problem, as expected. You need to make the changes in /menus/Analysis/Skeleton Network/graph_plgs.py and in /ipyalg/graph/sknw.py.

The other modification I proposed concerning linspace also works.

@CsatiZoltan
Copy link
Contributor Author

Also note that the issue with .node also concerns your sknw repository.

@CsatiZoltan
Copy link
Contributor Author

Another error found in graph_plgs.py: connected_component_subgraphs is removed. For a solution, see the related issue rkistner/chinese-postman#21.

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

No branches or pull requests

3 participants