Skip to content

Commit

Permalink
Fixed a bug of selecting the wrong fid to define the line inflow bcs (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rpachaly authored Jan 10, 2025
1 parent 24a7045 commit 6ec7425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flo2d/flo2d_ie/flo2dgeopackage.py
Original file line number Diff line number Diff line change
Expand Up @@ -4047,7 +4047,7 @@ def export_inflow_dat(self, outdir):
)

# Divide inflow line hydrograph between grid elements
has_line_hyd = self.execute("SELECT bc_fid FROM inflow WHERE geom_type = 'line';").fetchall()
has_line_hyd = self.execute("SELECT fid FROM inflow WHERE geom_type = 'line';").fetchall()
line_cells_dict = {}
if has_line_hyd:
for line_hyd in has_line_hyd:
Expand Down

0 comments on commit 6ec7425

Please sign in to comment.