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

fil.analyze_skeletons not working in example files #85

Open
teogeo1996 opened this issue Aug 13, 2024 · 0 comments
Open

fil.analyze_skeletons not working in example files #85

teogeo1996 opened this issue Aug 13, 2024 · 0 comments

Comments

@teogeo1996
Copy link

I am trying to run the example files. I have stumbled across an issue with fil.analyze skeletons. I am following the example steps exactly but when I get to the point of
fil.analyze_skeletons()
plt.imshow(fil.skeleton, origin='lower')

I get an error saying:
Traceback (most recent call last):
File "", line 1, in
File "/Users/c21094896/FilFinder/fil_finder/filfinder2D.py", line 665, in analyze_skeletons
fil.skeleton_analysis(self.image, verbose=verbose,
File "/Users/c21094896/FilFinder/fil_finder/filament.py", line 277, in skeleton_analysis
prune_graph(G, nodes, edge_list, max_path, labeled_mask,
File "/Users/c21094896/FilFinder/fil_finder/length.py", line 662, in prune_graph
G[n] = merge_nodes(node, G[n])
NameError: name 'merge_nodes' is not defined

Is there an easy fix to that?

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

1 participant