-
Notifications
You must be signed in to change notification settings - Fork 330
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
Comments
Remark: the reason why the "Build Graph" tool works in the standalone Windows version is because it uses |
I just replace all the "node[" by "nodes[", And now every thing is ok for me. I had pushed. have a try? |
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 |
Also note that the issue with |
Another error found in graph_plgs.py: |
For the network tool to work with Python 3.7.6, we need some changes:
networkx
package version 2.1. Reason: thenode
attribute no longer exists as of version 2.4 (see here)n
ton.astype(np.int16)
in lines 45, 46 of module graphpen_tol:imagepy/imagepy/tools/Network/graphpen_tol.py
Line 45 in 17aa292
imagepy/imagepy/tools/Network/graphpen_tol.py
Line 46 in 17aa292
and similarly in module graphcut_tol:
imagepy/imagepy/tools/Network/graphcut_tol.py
Line 44 in 17aa292
imagepy/imagepy/tools/Network/graphcut_tol.py
Line 45 in 17aa292
Reason: with numpy version 1.18.1, I get the error message:
The text was updated successfully, but these errors were encountered: