From fbb09dd4c017c89a89b04c79157c30bdab1c7232 Mon Sep 17 00:00:00 2001
From: Lionel GUEZ <guez@lmd.ens.fr>
Date: Thu, 10 Jun 2021 14:13:42 +0200
Subject: [PATCH] Polish

---
 Inst_eddies/Analysis/eddy_dump.py          | 2 +-
 Inst_eddies/Analysis/plot_eddy_contours.py | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Inst_eddies/Analysis/eddy_dump.py b/Inst_eddies/Analysis/eddy_dump.py
index 2d4019df..532f03c4 100755
--- a/Inst_eddies/Analysis/eddy_dump.py
+++ b/Inst_eddies/Analysis/eddy_dump.py
@@ -20,7 +20,6 @@ days_1950 = int(reply[0])
 eddy_index = int(reply[1])
 
 # Find ishape:
-
 filename = path.join(args.directory, "extremum")
 
 with shapefile.Reader(filename) as f:
@@ -29,6 +28,7 @@ with shapefile.Reader(filename) as f:
             break
     else:
         sys.exit("Not found")
+#--
         
 for basename in ["extremum", "outermost_contour", "max_speed_contour"]:
     filename = path.join(args.directory, basename)
diff --git a/Inst_eddies/Analysis/plot_eddy_contours.py b/Inst_eddies/Analysis/plot_eddy_contours.py
index cbdfe2dd..9801231c 100755
--- a/Inst_eddies/Analysis/plot_eddy_contours.py
+++ b/Inst_eddies/Analysis/plot_eddy_contours.py
@@ -228,8 +228,8 @@ if __name__ == "__main__":
                         help = "dashed linestyle, useful for a second snapshot")
     parser.add_argument("-a", "--anim", type = int, nargs = 2,
                         metavar = ("d_min", "d_max"), help = "make animation")
-    parser.add_argument("shpc_dir", help = "containing the collection of "
-                        "shapefiles")
+    parser.add_argument("shpc_dir", help = "directory containing the "
+                        "collection of shapefiles")
     parser.add_argument("--save", metavar = "format",
                         help = "Save file to specified format")
     args = parser.parse_args()
-- 
GitLab