Skip to content

Commit

Permalink
pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed May 19, 2024
1 parent 407024f commit 1927444
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/test_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,16 +224,12 @@ def test_write_image_scalar_chunks(self):
shape = (64, 64, 64)
data = np.array(self.create_data(shape))
write_image(
image=data,
group=self.group,
axes="xyz",
storage_options={"chunks": 32}
image=data, group=self.group, axes="xyz", storage_options={"chunks": 32}
)
for data in self.group.values():
print(data)
assert data.chunks == (32, 32, 32)


@pytest.mark.parametrize("array_constructor", [np.array, da.from_array])
def test_write_image_compressed(self, array_constructor):
shape = (64, 64, 64)
Expand Down

0 comments on commit 1927444

Please sign in to comment.