From 5d815b2824b8d5541d5b00dc87cd062a0abe0464 Mon Sep 17 00:00:00 2001 From: Harry Carey Date: Wed, 26 Jul 2023 14:27:23 +0200 Subject: [PATCH] remove redundant min max from ideal spacing --- DeepSlice/coord_post_processing/spacing_and_indexing.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/DeepSlice/coord_post_processing/spacing_and_indexing.py b/DeepSlice/coord_post_processing/spacing_and_indexing.py index 80d2859..7c98cbe 100644 --- a/DeepSlice/coord_post_processing/spacing_and_indexing.py +++ b/DeepSlice/coord_post_processing/spacing_and_indexing.py @@ -82,8 +82,6 @@ def ideal_spacing( # unaligned voxel position of section numbers (evenly spaced depths) index_spaced_depth = section_numbers * average_thickness # average distance between the depths and the evenly spaced depths - min = 0 - max = np.max(section_numbers) if species == "mouse": min, max = 0, 528 elif species == "rat":