From 30a3436a12a5d3607f49c06242ae3f4b222dd951 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 5 Dec 2023 10:42:25 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pvnet/models/multimodal/multimodal.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pvnet/models/multimodal/multimodal.py b/pvnet/models/multimodal/multimodal.py index c828e9b6..25dbc4d5 100644 --- a/pvnet/models/multimodal/multimodal.py +++ b/pvnet/models/multimodal/multimodal.py @@ -139,7 +139,9 @@ def __init__( nwp_history_minutes = history_minutes if nwp_forecast_minutes is None: nwp_forecast_minutes = forecast_minutes - nwp_sequence_len = 10 # TODO Fix = nwp_history_minutes // 60 + nwp_forecast_minutes // 60 + 1 + nwp_sequence_len = ( + 10 # TODO Fix = nwp_history_minutes // 60 + nwp_forecast_minutes // 60 + 1 + ) self.nwp_encoder = nwp_encoder( sequence_length=nwp_sequence_len,