Skip to content

Commit 831c662

Browse files
Support for str
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
1 parent 989bf80 commit 831c662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

terratorch/datasets/generic_pixel_wise_dataset.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def __init__(
4343
ignore_split_file_extensions: bool = True,
4444
allow_substring_split_file: bool = True,
4545
rgb_indices: list[int] | None = None,
46-
dataset_bands: list[HLSBands | int | list[int]] | None = None,
47-
output_bands: list[HLSBands | int | list[int]] | None = None,
46+
dataset_bands: list[HLSBands | int | list[int] | str ] | None = None,
47+
output_bands: list[HLSBands | int | list[int] | str ] | None = None,
4848
constant_scale: float = 1,
4949
transform: A.Compose | None = None,
5050
no_data_replace: float | None = None,

0 commit comments

Comments
 (0)