mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
pep8
This commit is contained in:
1 parent
e44bbd5a3c
commit
4d08f3c271
11 files changed
+46
-64
No files matched your search
@@ -957,7 +957,7 @@ class ResultsWindow(PamhyrWindow):
|
||||
reach2.profiles
|
||||
)
|
||||
)
|
||||
fr = list(
|
||||
fr = list(
|
||||
map(
|
||||
lambda x, y: x - y,
|
||||
fr1, fr2
|
||||
@@ -1027,14 +1027,14 @@ class ResultsWindow(PamhyrWindow):
|
||||
if self._current_results != 2:
|
||||
z_min = [profile.geometry.z_min()] * len(self._timestamps)
|
||||
else:
|
||||
z_min1 = profile1.geometry.z_min()
|
||||
z_min2 = profile2.geometry.z_min()
|
||||
z_min = list(
|
||||
map(
|
||||
lambda ts: z_min1 - z_min2,
|
||||
self._timestamps
|
||||
)
|
||||
z_min1 = profile1.geometry.z_min()
|
||||
z_min2 = profile2.geometry.z_min()
|
||||
z_min = list(
|
||||
map(
|
||||
lambda ts: z_min1 - z_min2,
|
||||
self._timestamps
|
||||
)
|
||||
)
|
||||
my_dict[dict_y["bed_elevation"]] = z_min
|
||||
if "discharge" in y:
|
||||
my_dict[dict_y["discharge"]] = q
|
||||
|
||||
Reference in new issue
Block a user