From c70424c2b263a20fa46e1d9cd306f3f62cfc84e5 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 30 Aug 2024 05:55:43 -0700 Subject: [PATCH] Version 1.0 Minor code correction --- tegridy-tools/TPLOTS.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tegridy-tools/TPLOTS.py b/tegridy-tools/TPLOTS.py index 69c8d0e..732ab6b 100644 --- a/tegridy-tools/TPLOTS.py +++ b/tegridy-tools/TPLOTS.py @@ -893,7 +893,7 @@ def binary_matrix_to_images(matrix, image_array = [] - for i in range(0, min(1, matrix.shape[0]-max(step, overlap)), overlap): + for i in range(0, max(1, matrix.shape[0]-max(step, overlap)), overlap): submatrix = matrix[i:i+step, :]