Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Apr 13, 2023
1 parent 05ec5f6 commit ff6f0d0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions rio_faux/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,11 @@ def faux(

indexes = src_dst.indexes

for i, b in enumerate(indexes):
tmp_dst.set_band_description(i + 1, src_dst.descriptions[b - 1])
if forward_band_tags:
if forward_band_tags:
for i, b in enumerate(indexes):
tmp_dst.set_band_description(
i + 1, src_dst.descriptions[b - 1]
)
tmp_dst.update_tags(i + 1, **src_dst.tags(b))

if forward_dataset_tags:
Expand Down

0 comments on commit ff6f0d0

Please sign in to comment.