diff --git a/src/Model/Geometry/ProfileXYZ.py b/src/Model/Geometry/ProfileXYZ.py
index c06a265375896ec1f6cea87badaace845c71d201..27b933b513d021f476f8ff599401a3958dda8680 100644
--- a/src/Model/Geometry/ProfileXYZ.py
+++ b/src/Model/Geometry/ProfileXYZ.py
@@ -408,11 +408,10 @@ class ProfileXYZ(Profile, SQLSubModel):
             return 0
 
         length = 0.0
-        for s,e in zip(start, end):
+        for s, e in zip(start, end):
             length += abs(s - e)
         return length
 
-
     def wet_perimeter(self, z):
         lines = self.wet_lines(z)
 
@@ -477,10 +476,10 @@ class ProfileXYZ(Profile, SQLSubModel):
                     [zz[i], zz[i+1]],
                     [station[i], station[i+1]]
                 )
-                line.append([y,z])
+                line.append([y, z])
 
             if zz[i] < z:
-                line.append([station[i],zz[i]])
+                line.append([station[i], zz[i]])
 
             if zz[i] <= z and zz[i+1] > z:
                 y = np.interp(
@@ -488,7 +487,7 @@ class ProfileXYZ(Profile, SQLSubModel):
                     [zz[i], zz[i+1]],
                     [station[i], station[i+1]]
                 )
-                line.append([y,z])
+                line.append([y, z])
                 lines.append(geometry.LineString(line))
                 line = []