Skip to content
Snippets Groups Projects
Commit 7cc337a5 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Bug fix: missing suffix

We have to precise the suffix because we test readability of file with
`os.access` below. The bug comes from commit 41c8c5cc.
parent c1f44ea1
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ def read_eddy_graph(edgelist, shp_tr_dir = None, read_interp = True):
# Assuming that the directory containing the interpolated
# eddies is in the same location as edgelist:
extremum = path.join(path.dirname(edgelist), "SHP_triplet",
"extremum")
"extremum.shp")
if os.access(extremum, os.R_OK):
set_attribute(G, extremum)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment