Skip to content

Commit b8758ad

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent db766d0 commit b8758ad

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

napari_ome_zarr/_reader.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import warnings
88

99
import zarr
10+
1011
from .ome_zarr_reader import read_ome_zarr
1112

1213

napari_ome_zarr/ome_zarr_reader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def metadata(self):
9696
rgb = [(int(color[i : i + 2], 16) / 255) for i in range(0, 6, 2)]
9797
# colormap is range: black -> rgb color
9898
colormaps.append(Colormap([[0, 0, 0], rgb]))
99-
ch_names.append(ch.get("label", f'channel_{index}'))
99+
ch_names.append(ch.get("label", f"channel_{index}"))
100100
visibles.append(ch.get("active", True))
101101

102102
window = ch.get("window", None)
@@ -242,7 +242,7 @@ def metadata(self) -> Dict[str, Any] | None:
242242
ms_data = {}
243243
return {
244244
"name": f"labels{self.group.name}",
245-
"visible": False, # labels not visible initially
245+
"visible": False, # labels not visible initially
246246
**ms_data,
247247
}
248248

0 commit comments

Comments
 (0)