Skip to content

Commit 303bfe8

Browse files
This warning is not necessary
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
1 parent 2888252 commit 303bfe8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

terratorch/datasets/generic_pixel_wise_dataset.py

-6
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,6 @@ def __init__(
130130
else:
131131
self.dataset_bands = dataset_bands
132132
self.output_bands = output_bands
133-
134-
bands_type = self._bands_as_int_or_str(dataset_bands, output_bands)
135-
136-
if bands_type == str:
137-
UserWarning("When the bands are defined as str, guarantee your input files"+
138-
"are organized by band and all have its specific name.")
139133

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

0 commit comments

Comments
 (0)