From 7cc337a5151b502449495790bf42aad3e7222923 Mon Sep 17 00:00:00 2001
From: Lionel GUEZ <guez@lmd.ens.fr>
Date: Sat, 13 Mar 2021 00:12:09 +0100
Subject: [PATCH] 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 41c8c5c.
---
 Analysis/report_graph.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Analysis/report_graph.py b/Analysis/report_graph.py
index 1b72e1ce..81625f0f 100755
--- a/Analysis/report_graph.py
+++ b/Analysis/report_graph.py
@@ -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)
-- 
GitLab