Skip to content

Commit

Permalink
fix: fixed syntax in grid.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jlerat committed May 8, 2024
1 parent 344c2af commit 95da93c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hydrodiy/gis/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -1767,7 +1767,8 @@ def get_grid(name):
info = AWRAL_SUBGRIDS.loc[idx, :].iloc[0]

# Generate file names
fh = "{}/{}.hdr".format(info.entity_type, re.sub("\..*$", "", info.grid_file))
fh = "{}/{}.hdr".format(info.entity_type, \
re.sub("\\..*$", "", info.grid_file))

# Reads data
gr = Grid.from_zip(FZIP_AWRAL_SUBGRIDS, fh)
Expand Down

0 comments on commit 95da93c

Please sign in to comment.