Skip to content

Commit

Permalink
DAS-2276: Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
flamingbear committed Dec 18, 2024
1 parent bae52d6 commit 6ad622f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hybig/browse.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def convert_to_uint8(bands: ndarray, dtype: str | None) -> ndarray[uint8]:
def original_dtype(data_array: DataArray) -> str | None:
"""Return the original input data's type.
rastero_optn retains the input dtype in the encoding dictionary and is used
rastero_open retains the input dtype in the encoding dictionary and is used
to understand what kind of casts are safe.
"""
Expand Down Expand Up @@ -384,7 +384,7 @@ def standardize_raster_for_writing(
return raster[0:3, :, :], None

if driver == 'PNG' and band_count == 1:
# Only paletize single band input data that has been converted to an
# Only palettize single band input data that has been converted to an
# RGBA raster.
return palettize_raster(raster)

Expand Down

0 comments on commit 6ad622f

Please sign in to comment.