Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 5, 2024
1 parent a240276 commit f6ee39b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pvnet/models/multimodal/multimodal.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ def __init__(
assert sat_history_minutes is not None
assert nwp_forecast_minutes is not None

self.sat_sequence_len = (sat_history_minutes - min_sat_delay_minutes) // sat_interval_minutes + 1
self.sat_sequence_len = (
sat_history_minutes - min_sat_delay_minutes
) // sat_interval_minutes + 1

self.sat_encoder = sat_encoder(
sequence_length=self.sat_sequence_len,
Expand Down

0 comments on commit f6ee39b

Please sign in to comment.