From 4fcd6b6a172e419a0c1265a4e180bc957db1f9aa Mon Sep 17 00:00:00 2001 From: TimMonko <47310455+TimMonko@users.noreply.github.com> Date: Sat, 28 Oct 2023 07:51:11 -0500 Subject: [PATCH] add explicit confirmation that mean-pixel-values of int arrays are using underlying values and not 1 --- src/skan/test/test_csr.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/skan/test/test_csr.py b/src/skan/test/test_csr.py index 7fec7a26..cb23b04c 100644 --- a/src/skan/test/test_csr.py +++ b/src/skan/test/test_csr.py @@ -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