Skip to content

Commit

Permalink
add explicit confirmation that mean-pixel-values of int arrays are us…
Browse files Browse the repository at this point in the history
…ing underlying values and not 1
  • Loading branch information
TimMonko committed Oct 28, 2023
1 parent 39fd158 commit 4fcd6b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/skan/test/test_csr.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,3 +315,4 @@ def test_skeleton_path_image_no_keep_image():
def test_skeletonlabel():
stats = csr.summarize(csr.Skeleton(skeletonlabel))
assert stats['mean-pixel-value'].max() == skeletonlabel.max()
assert stats['mean-pixel-value'].max() > 1

0 comments on commit 4fcd6b6

Please sign in to comment.