mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Pamhyr2: Fix pep8.
This commit is contained in:
1 parent
8e82772cfc
commit
e066c6ab94
2 files changed
+10
-2
No files matched your search
@@ -29,6 +29,7 @@ _translate = QCoreApplication.translate
|
||||
|
||||
logger = logging.getLogger()
|
||||
|
||||
|
||||
class StudyNetworkReachChecker(AbstractModelChecker):
|
||||
def __init__(self):
|
||||
super(StudyNetworkReachChecker, self).__init__()
|
||||
@@ -96,6 +97,7 @@ class StudyGeometryChecker(AbstractModelChecker):
|
||||
self._status = status
|
||||
return ok
|
||||
|
||||
|
||||
class StudyInitialConditionsChecker(AbstractModelChecker):
|
||||
def __init__(self):
|
||||
super(StudyInitialConditionsChecker, self).__init__()
|
||||
@@ -144,6 +146,7 @@ class StudyInitialConditionsChecker(AbstractModelChecker):
|
||||
|
||||
return ok
|
||||
|
||||
|
||||
class StudyBoundaryConditionChecker(AbstractModelChecker):
|
||||
def __init__(self):
|
||||
super(StudyBoundaryConditionChecker, self).__init__()
|
||||
@@ -190,8 +193,12 @@ class StudyBoundaryConditionChecker(AbstractModelChecker):
|
||||
|
||||
bcs_nodes = set(map(lambda bc: bc.node, bcs))
|
||||
|
||||
upstream_ok = self.check_liquid_all_node_has_bc(bcs_nodes, upstream)
|
||||
downstream_ok = self.check_liquid_all_node_has_bc(bcs_nodes, downstream)
|
||||
upstream_ok = self.check_liquid_all_node_has_bc(
|
||||
bcs_nodes, upstream
|
||||
)
|
||||
downstream_ok = self.check_liquid_all_node_has_bc(
|
||||
bcs_nodes, downstream
|
||||
)
|
||||
|
||||
ok = upstream_ok and downstream_ok
|
||||
|
||||
|
||||
Reference in new issue
Block a user