From 953297d714afd9d0e713fdc2e25476cf99af6752 Mon Sep 17 00:00:00 2001 From: William Patton Date: Tue, 15 Oct 2024 09:46:51 -0700 Subject: [PATCH] black formatting --- funlib/persistence/arrays/array.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/funlib/persistence/arrays/array.py b/funlib/persistence/arrays/array.py index 122fb35..f152c07 100644 --- a/funlib/persistence/arrays/array.py +++ b/funlib/persistence/arrays/array.py @@ -300,7 +300,6 @@ def __setitem__(self, key, value: np.ndarray): region_slices = self.__slices(roi) self._source_data[region_slices] = value else: - lazy_slices = [ lazy_op for lazy_op in self.lazy_ops if self._is_slice(lazy_op) ] @@ -338,9 +337,7 @@ def to_ndarray(self, roi, fill_value=0): """ shape = roi.shape / self.voxel_size - data = np.zeros( - self.shape[: self.channel_dims] + shape, dtype=self.data.dtype - ) + data = np.zeros(self.shape[: self.channel_dims] + shape, dtype=self.data.dtype) if fill_value != 0: data[:] = fill_value