mirror of https://gitlab.com/pamhyr/pamhyr2
pep8
parent
898aad3da5
commit
2951f5e093
Binary file not shown.
Binary file not shown.
|
|
@ -492,10 +492,10 @@ class ProfileXYZ(Profile, SQLSubModel):
|
||||||
line = []
|
line = []
|
||||||
|
|
||||||
if zz[self.number_points-1] < z:
|
if zz[self.number_points-1] < z:
|
||||||
line.append([station[self.number_points-1], z])
|
line.append([station[self.number_points-1], z])
|
||||||
if len(line) > 2:
|
if len(line) > 2:
|
||||||
lines.append(geometry.LineString(line))
|
lines.append(geometry.LineString(line))
|
||||||
line = []
|
line = []
|
||||||
|
|
||||||
return lines
|
return lines
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue