mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
debug
This commit is contained in:
1 parent
ad59afc4f5
commit
b56172328e
2 files changed
+9
-3
No files matched your search
@@ -302,10 +302,16 @@ class Reach(SQLSubModel):
|
||||
return [profile.kp for profile in self.profiles]
|
||||
|
||||
def get_kp_min(self):
|
||||
return min(self.get_kp())
|
||||
if len(self.get_kp()) > 0:
|
||||
return min(self.get_kp())
|
||||
else:
|
||||
return 0.0
|
||||
|
||||
def get_kp_max(self):
|
||||
return max(self.get_kp())
|
||||
if len(self.get_kp()) > 0:
|
||||
return max(self.get_kp())
|
||||
else:
|
||||
return 0.0
|
||||
|
||||
# Sediment Layers
|
||||
|
||||
|
||||
Reference in new issue
Block a user