Skip to content

Commit

Permalink
changed the datatype of bands to list[int] form int
Browse files Browse the repository at this point in the history
  • Loading branch information
carrotcake authored and carrotcake committed Jan 8, 2025
1 parent 7626f28 commit d35b435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchgeo/datasets/substation.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Substation(NonGeoDataset):
def __init__(

Check failure on line 46 in torchgeo/datasets/substation.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (D417)

torchgeo/datasets/substation.py:46:9: D417 Missing argument description in the docstring for `__init__`: `num_of_timepoints`
self,
root: str,
bands: int,
bands: list[int],
mask_2d: bool,
timepoint_aggregation: str = 'concat',
download: bool = False,
Expand Down

0 comments on commit d35b435

Please sign in to comment.