Skip to content

Commit

Permalink
Fix black
Browse files Browse the repository at this point in the history
  • Loading branch information
shchur committed Oct 13, 2023
1 parent 986f94e commit 580d92d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gluonts/dataset/repository/_lstnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ def generate_lstnet_dataset(
pd.read_csv(ds_info.url, header=None), # type: ignore
)

assert df.shape == (ds_info.num_time_steps, ds_info.num_series,), (
assert df.shape == (
ds_info.num_time_steps,
ds_info.num_series,
), (
"expected num_time_steps/num_series"
f" {(ds_info.num_time_steps, ds_info.num_series)} but got {df.shape}"
)
Expand Down

0 comments on commit 580d92d

Please sign in to comment.