Skip to content

Commit

Permalink
Update src/ribasim_nl/ribasim_nl/network_validator.py
Browse files Browse the repository at this point in the history
Co-authored-by: Martijn Visser <[email protected]>
  • Loading branch information
DanielTollenaar and visr authored Oct 11, 2024
1 parent 9005a68 commit 372790b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ribasim_nl/ribasim_nl/network_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def node_internal_basin(self):
mask = self.node_df.apply(lambda row: check_internal_basin(row, self.edge_df), axis=1)
return self.node_df[mask]

def node_invalid_connectivity(self, tolerance: float = 1.0):
def node_invalid_connectivity(self, tolerance: float = 1.0) -> gpd.GeoDataFrame:
"""Check if node_from and node_to are correct on edge"""
node_df = self.node_df
invalid_edges_df = self.edge_incorrect_connectivity()
Expand Down

0 comments on commit 372790b

Please sign in to comment.