Skip to content

Commit

Permalink
This warning is not necessary
Browse files Browse the repository at this point in the history
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
  • Loading branch information
Joao-L-S-Almeida committed Jul 23, 2024
1 parent 2888252 commit 303bfe8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions terratorch/datasets/generic_pixel_wise_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,6 @@ def __init__(
else:
self.dataset_bands = dataset_bands
self.output_bands = output_bands

bands_type = self._bands_as_int_or_str(dataset_bands, output_bands)

if bands_type == str:
UserWarning("When the bands are defined as str, guarantee your input files"+
"are organized by band and all have its specific name.")

if self.output_bands and not self.dataset_bands:
msg = "If output bands provided, dataset_bands must also be provided"
Expand Down

0 comments on commit 303bfe8

Please sign in to comment.