From e1f69e41b04c415b9486708ba95643aae44d9ea0 Mon Sep 17 00:00:00 2001 From: Theophile Terraz <theophile.terraz@inrae.fr> Date: Wed, 21 Aug 2024 15:48:11 +0200 Subject: [PATCH] pep8 --- src/Model/Geometry/ProfileXYZ.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Model/Geometry/ProfileXYZ.py b/src/Model/Geometry/ProfileXYZ.py index 896388ef..14187233 100644 --- a/src/Model/Geometry/ProfileXYZ.py +++ b/src/Model/Geometry/ProfileXYZ.py @@ -492,10 +492,10 @@ class ProfileXYZ(Profile, SQLSubModel): line = [] if zz[self.number_points-1] < z: - line.append([station[self.number_points-1], z]) - if len(line) > 2: - lines.append(geometry.LineString(line)) - line = [] + line.append([station[self.number_points-1], z]) + if len(line) > 2: + lines.append(geometry.LineString(line)) + line = [] return lines -- GitLab