FilFinder icon indicating copy to clipboard operation
FilFinder copied to clipboard

Assertion error in skeleton_analysis

Open LuanMagioli opened this issue 4 years ago • 1 comments

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()

LuanMagioli avatar Aug 13 '21 18:08 LuanMagioli

@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.

e-koch avatar Aug 17 '21 19:08 e-koch