Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonw committed Oct 15, 2024
1 parent f423749 commit 953297d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions funlib/persistence/arrays/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
]
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 953297d

Please sign in to comment.