From 5046d024e79763af3285d9c918035af4e2229d88 Mon Sep 17 00:00:00 2001 From: Hofer-Julian Date: Thu, 4 Apr 2024 15:39:37 +0200 Subject: [PATCH] Actually set the crs variable when calling `set_crs` --- python/ribasim/ribasim/model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/ribasim/ribasim/model.py b/python/ribasim/ribasim/model.py index 5d3eefabb..3ebcfb288 100644 --- a/python/ribasim/ribasim/model.py +++ b/python/ribasim/ribasim/model.py @@ -182,6 +182,7 @@ def _save(self, directory: DirectoryPath, input_dir: DirectoryPath): sub._save(directory, input_dir) def set_crs(self, crs: str) -> None: + self.crs = crs self.edge.df = self.edge.df.set_crs(crs) for sub in self._nodes(): if sub.node.df is not None: