From 303bfe89a22a20cbe65de90fbf4d701aff7df25f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lucas=20de=20Sousa=20Almeida?= Date: Tue, 23 Jul 2024 10:28:26 -0300 Subject: [PATCH] This warning is not necessary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Lucas de Sousa Almeida --- terratorch/datasets/generic_pixel_wise_dataset.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/terratorch/datasets/generic_pixel_wise_dataset.py b/terratorch/datasets/generic_pixel_wise_dataset.py index 42ebbdb0..2241f38a 100644 --- a/terratorch/datasets/generic_pixel_wise_dataset.py +++ b/terratorch/datasets/generic_pixel_wise_dataset.py @@ -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"