Skip to content

Commit 6bf4d05

Browse files
committed
Linting fixes
1 parent 369261d commit 6bf4d05

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pvnet/models/base_model.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,8 @@ def __init__(
263263
if timestep_intervals_to_plot is not None:
264264
for interval in timestep_intervals_to_plot:
265265
assert type(interval) in [list, tuple] and len(interval) == 2, ValueError(
266-
f"timestep_intervals_to_plot must be a list of tuples or lists of length 2, but got {timestep_intervals_to_plot=}"
266+
f"timestep_intervals_to_plot must be a list of tuples or lists of length 2, "
267+
f"but got {timestep_intervals_to_plot=}"
267268
)
268269
self.time_step_intervals_to_plot = timestep_intervals_to_plot
269270

@@ -535,7 +536,8 @@ def validation_step(self, batch: dict, batch_idx):
535536
)
536537
self.logger.experiment.log(
537538
{
538-
f"val_forecast_samples/batch_idx_{accum_batch_num}_timestep_{interval}": wandb.Image(
539+
f"val_forecast_samples/batch_idx_{accum_batch_num}_"
540+
f"timestep_{interval}": wandb.Image(
539541
fig
540542
),
541543
}

0 commit comments

Comments
 (0)