Skip to content

Commit

Permalink
fix initial graph creating. providing data to the dataloader
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankrb committed Sep 20, 2024
1 parent 2ade411 commit 08d55a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/anemoi/graphs/nodes/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,8 @@ class ZarrDatasetNodes(BaseNodeBuilder):

def __init__(self, dataset: DotDict, name: str) -> None:
LOGGER.info("Reading the dataset from %s.", dataset)
from omegaconf import OmegaConf

dataset = OmegaConf.to_container(dataset)
# from omegaconf import OmegaConf
# dataset = OmegaConf.to_container(dataset)
self.dataset = open_dataset(dataset)
super().__init__(name)

Expand Down

0 comments on commit 08d55a6

Please sign in to comment.