Skip to content

Commit 95da93c

Browse files
committed
fix: fixed syntax in grid.py
1 parent 344c2af commit 95da93c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hydrodiy/gis/grid.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1767,7 +1767,8 @@ def get_grid(name):
17671767
info = AWRAL_SUBGRIDS.loc[idx, :].iloc[0]
17681768

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

17721773
# Reads data
17731774
gr = Grid.from_zip(FZIP_AWRAL_SUBGRIDS, fh)

0 commit comments

Comments
 (0)