Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Aug 20, 2024
1 parent 404b09c commit 1afb811
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ribasim_nl/ribasim_nl/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ def fix_unassigned_basin_area(self, method: str = "within", distance: float = 10
basin_df = self.basin.node.df[self.basin.node.df.distance(row.geometry) < distance]

else:
ValueError(f"Supported methods are 'within' or 'closest', got '{method}'."
ValueError(f"Supported methods are 'within' or 'closest', got '{method}'.")

# check if basin_nodes within area are not yet assigned an area
basin_df = basin_df[~basin_df.node_id.isin(self.basin.area.df.node_id)]

Expand Down

0 comments on commit 1afb811

Please sign in to comment.