diff --git a/linc_convert/modalities/df/multi_slice.py b/linc_convert/modalities/df/multi_slice.py index 574368e..0668191 100644 --- a/linc_convert/modalities/df/multi_slice.py +++ b/linc_convert/modalities/df/multi_slice.py @@ -174,14 +174,6 @@ def convert( x = floordiv(shape[-2] - subdat_size[-2], 2) y = floordiv(shape[-1] - subdat_size[-1], 2) - for channel in range(3): - if max_load is None or ( - subdat_size[-2] < max_load and subdat_size[-1] < max_load - ): - array[ - channel, idx, x : x + subdat_size[-2], y : y + subdat_size[-1] - ] = subdat[channel : channel + 1, ...][0] - for channel in range(3): if max_load is None or ( subdat_size[-2] < max_load and subdat_size[-1] < max_load