You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running FilFinder (version 1.6) I got the following AttributeError message:
File "/usr/local/lib/python3.7/dist-packages/fil_finder/filfinder2D.py", line 641, in analyze_skeletons
max_prune_iter=max_prune_iter)
File "/usr/local/lib/python3.7/dist-packages/fil_finder/filament.py", line 286, in skeleton_analysis
if prev_G.node == G[0].node:
AttributeError: 'Graph' object has no attribute 'node'
Changing line 286 in filament.py from if prev_G.node == G[0].node:
to if prev_G.nodes == G[0].nodes:
solved the problem for me.
Thanks! This is fixed in master. I'll push a new release soon, but in the meantime, you can install the fixed version with pip install git+https://github.com/e-koch/FilFinder.git@master.
When running FilFinder (version 1.6) I got the following AttributeError message:
Changing line 286 in filament.py from
if prev_G.node == G[0].node:
to
if prev_G.nodes == G[0].nodes:
solved the problem for me.
See also https://networkx.github.io/documentation/stable/release/release_2.4.html#deprecations
The text was updated successfully, but these errors were encountered: