From c239e2fb710c3e0365702bf1458ebcb84d3ad180 Mon Sep 17 00:00:00 2001 From: Yohsuke Fukai Date: Wed, 22 Sep 2021 09:54:18 +0900 Subject: [PATCH 1/2] added assertion for overlap_prob_uniform_threshold parameter --- src/m2stitch/stitching.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/m2stitch/stitching.py b/src/m2stitch/stitching.py index 1e7d347..17cf0bb 100644 --- a/src/m2stitch/stitching.py +++ b/src/m2stitch/stitching.py @@ -66,6 +66,7 @@ def stitch_images( images = np.array(images) assert images.shape[0] == len(rows) assert images.shape[0] == len(cols) + assert 0 <= overlap_prob_uniform_threshold and overlap_prob_uniform_threshold <= 100 W, H = images.shape[1:] From 32041707c02e44dc947145870f7bf67d7076c5b3 Mon Sep 17 00:00:00 2001 From: Yohsuke Fukai Date: Wed, 22 Sep 2021 09:54:57 +0900 Subject: [PATCH 2/2] bumped patch --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0345e69..f6c97dc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "m2stitch" -version = "0.2.0" +version = "0.2.1" description = "M2Stitch" authors = ["Yohsuke Fukai "] license = "MIT"