Skip to content

Commit

Permalink
Actually set the crs variable when calling set_crs
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian committed Apr 4, 2024
1 parent 6a72aaf commit 5046d02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/ribasim/ribasim/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5046d02

Please sign in to comment.