Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoizueta committed Jun 4, 2024
1 parent 570d510 commit 7746ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raster_loader/io/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def get_compound_bands(raster_dataset: rasterio.io.DatasetReader, band: int) ->
rgb_bands = [b for b in raster_dataset.indexes if raster_dataset.colorinterp[b - 1].name in rgb]
if len(rgb_bands) == 3:
return rgb_bands
return [band]
return [band]


def raster_band_stats(raster_dataset: rasterio.io.DatasetReader, band: int) -> dict:
Expand Down

0 comments on commit 7746ad0

Please sign in to comment.