Skip to content

Commit

Permalink
fix: clean hidden attributes before apply post processors
Browse files Browse the repository at this point in the history
  • Loading branch information
JPXKQX committed Nov 22, 2024
1 parent c2f8f18 commit 8a2d88d
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 @@ -151,8 +151,8 @@ def create(self, save_path: Path | None = None, overwrite: bool = False) -> Hete
"""
graph = HeteroData()
graph = self.update_graph(graph)
graph = self.post_process(graph)
graph = self.clean(graph)
graph = self.post_process(graph)

if save_path is None:
LOGGER.warning("No output path specified. The graph will not be saved.")
Expand Down

0 comments on commit 8a2d88d

Please sign in to comment.