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

Assertion error in skeleton_analysis #66

Open
LuanMagioli opened this issue Aug 13, 2021 · 1 comment
Open

Assertion error in skeleton_analysis #66

LuanMagioli opened this issue Aug 13, 2021 · 1 comment

Comments

@LuanMagioli
Copy link

AssertionError: Sliced image shape does not equal the mask shape. This should never happen! If you see this issue, please report it as a bug!

fil = FilFinder2D(thresh, mask=thresh, distance= 100*u.pc)
fil.create_mask(border_masking=True, verbose=False, use_existing_mask=True)
fil.preprocess_image(flatten_percent=100)
fil.medskel(verbose=False)
fil.analyze_skeletons()
@e-koch
Copy link
Owner

e-koch commented Aug 17, 2021

@LuanMagioli -- Thanks for posting this error!

Would you mind giving me a few more details to help figure out what went wrong?

  • image size
  • number of filaments in the thresh image

If you're able to share the thresh image, I can look in a bit more detail. You can contact me offline at koch.eric.w AT gmail.com.

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

2 participants