Skip to content

Commit 8ab11e8

Browse files
committed
simplify iteration over dataloader within stream
1 parent 6c4b273 commit 8ab11e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/weathergen/datasets/multi_stream_data_sampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def __iter__(self):
255255
)
256256

257257
# for all sources for current stream
258-
for _, ds in enumerate(stream_ds):
258+
for ds in stream_ds:
259259
# source window (of potentially multi-step length)
260260
rdata: ReaderData = ds.get_source(idx)
261261

0 commit comments

Comments
 (0)