Skip to content

Commit

Permalink
fix: change default
Browse files Browse the repository at this point in the history
  • Loading branch information
JPXKQX committed Nov 6, 2024
1 parent 1a27371 commit 744607e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/anemoi/graphs/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def post_process(self, graph: HeteroData) -> HeteroData:
Post-processors are applied in the order they are specified in the configuration.
Each post-processor should implement an `update_graph` method that takes and returns a HeteroData object.
"""
for processor in self.config.get("post_processors", {}):
for processor in self.config.get("post_processors", []):
graph = instantiate(processor).update_graph(graph)

return graph
Expand Down

0 comments on commit 744607e

Please sign in to comment.