Skip to content

Commit

Permalink
Use new alpha colormap
Browse files Browse the repository at this point in the history
  • Loading branch information
GenevieveBuckley committed Jun 27, 2024
1 parent bf90b95 commit 8102c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napari_tiff/napari_tiff_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def get_ome_tiff_metadata(tif: TiffFile) -> dict[str, Any]:
colormap = int_to_rgba(int(color))
elif is_rgb and len(channels) > 1:
# separate channels provided for RGB (with missing color)
colormap = ["red", "green", "blue", "alpha"][channeli]
colormap = ["red", "green", "blue", alpha_colormap()][channeli]
if not name:
name = colormap

Expand Down

0 comments on commit 8102c81

Please sign in to comment.