Skip to content

Commit

Permalink
Remove duplicate lines
Browse files Browse the repository at this point in the history
  • Loading branch information
margrietpalm committed Nov 25, 2024
1 parent bcba3a1 commit 4e3dbf0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions threedigrid_builder/grid/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,8 +758,6 @@ def add_1d2d_lines(
mask = self.nodes.content_type[node_idx] == objects.content_type
content_pk = self.nodes.content_pk[node_idx[mask]]
if node_open_water_detection == 0 and isinstance(objects, ConnectionNodes):
mask = self.nodes.content_type[node_idx] == objects.content_type
content_pk = self.nodes.content_pk[node_idx[mask]]
is_closed = objects.is_channel(content_pk, channels)
else:
is_closed = objects.is_closed(content_pk)
Expand Down

0 comments on commit 4e3dbf0

Please sign in to comment.