diff --git a/wsireg/utils/im_utils.py b/wsireg/utils/im_utils.py index 7aec4e6..9437f28 100644 --- a/wsireg/utils/im_utils.py +++ b/wsireg/utils/im_utils.py @@ -399,9 +399,7 @@ def func( if subblock_ch_idx in channel_idx: subblock.dimension_entries[czi_c_idx].start tile = subblock.data(resize=resize, order=order) - dvstart[ch_dim_idx] = subblock_ch_idx - min_ch_seq.get( - subblock_ch_idx - ) + dvstart[ch_dim_idx] = min_ch_seq.get(subblock_ch_idx) else: return else: