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 Mar 23, 2024
1 parent 43af752 commit 53a2e6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions ocf_datapipes/training/pvnet_site.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
import xarray as xr
from torch.utils.data import IterDataPipe, functional_datapipe
from torch.utils.data.datapipes.iter import IterableWrapper
from ocf_datapipes.batch import BatchKey, NumpyBatch

from ocf_datapipes.batch import MergeNumpyModalities, MergeNWPNumpyModalities
from ocf_datapipes.batch import BatchKey, MergeNumpyModalities, MergeNWPNumpyModalities
from ocf_datapipes.training.common import (
DatapipeKeyForker,
_get_datapipes_dict,
Expand Down
1 change: 0 additions & 1 deletion ocf_datapipes/training/windnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ def __init__(self, filenames: List[str], keys: List[str]):

def __iter__(self):
"""Iterate through each filename, loading it, uncombining it, and then yielding it"""
import numpy as np

while True:
for filename in self.filenames:
Expand Down

0 comments on commit 53a2e6d

Please sign in to comment.