Skip to content

Commit

Permalink
DAS-2108: fix typing nit for real this time.
Browse files Browse the repository at this point in the history
  • Loading branch information
flamingbear committed Apr 17, 2024
1 parent 9a7902f commit 92a303e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harmony_browse_image_generator/color_utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
NODATA_IDX = 255


def remove_alpha(raster: nd.ndarray) -> tuple[nd.ndarray, nd.ndarray, None]:
def remove_alpha(raster: np.ndarray) -> tuple[np.ndarray, np.ndarray, None]:
"""remove alpha layer when it exists."""
if raster.shape[0] == 4:
return raster[0:3, :, :], raster[3, :, :]
Expand Down

0 comments on commit 92a303e

Please sign in to comment.