mirror of https://gitlab.com/pamhyr/pamhyr2
replace kp with rk
parent
a52e6b86f4
commit
334633f0fb
|
|
@ -37,7 +37,7 @@ class AdistsOutputKpChecker(AbstractModelChecker):
|
||||||
self._description = _translate(
|
self._description = _translate(
|
||||||
"Checker", "Check output Kp"
|
"Checker", "Check output Kp"
|
||||||
)
|
)
|
||||||
self._modules = Modules.OUTPUT_KP
|
self._modules = Modules.OUTPUT_RK
|
||||||
|
|
||||||
def run(self, study):
|
def run(self, study):
|
||||||
ok = True
|
ok = True
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ class Modules(IterableFlag):
|
||||||
RESERVOIR = auto()
|
RESERVOIR = auto()
|
||||||
SEDIMENT_LAYER = auto()
|
SEDIMENT_LAYER = auto()
|
||||||
ADDITIONAL_FILES = auto()
|
ADDITIONAL_FILES = auto()
|
||||||
OUTPUT_KP = auto()
|
OUTPUT_RK = auto()
|
||||||
|
|
||||||
# Results
|
# Results
|
||||||
RESULTS = auto()
|
RESULTS = auto()
|
||||||
|
|
@ -78,7 +78,7 @@ class Modules(IterableFlag):
|
||||||
cls.ADDITIONAL_FILES,
|
cls.ADDITIONAL_FILES,
|
||||||
cls.RESULTS,
|
cls.RESULTS,
|
||||||
cls.WINDOW_LIST,
|
cls.WINDOW_LIST,
|
||||||
cls.OUTPUT_KP,
|
cls.OUTPUT_RK,
|
||||||
]
|
]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ class D90AdisTSTranslate(MainTranslate):
|
||||||
self._dict["D90 AdisTS"] = _translate(
|
self._dict["D90 AdisTS"] = _translate(
|
||||||
"D90AdisTS", "D90 AdisTS")
|
"D90AdisTS", "D90 AdisTS")
|
||||||
|
|
||||||
self._dict["kp"] = self._dict["unit_kp"]
|
self._dict["kp"] = self._dict["unit_rk"]
|
||||||
|
|
||||||
self._sub_dict["table_headers"] = {
|
self._sub_dict["table_headers"] = {
|
||||||
"name": self._dict["name"],
|
"name": self._dict["name"],
|
||||||
|
|
@ -40,7 +40,7 @@ class D90AdisTSTranslate(MainTranslate):
|
||||||
self._sub_dict["table_headers_spec"] = {
|
self._sub_dict["table_headers_spec"] = {
|
||||||
"name": self._dict["name"],
|
"name": self._dict["name"],
|
||||||
"reach": self._dict["reach"],
|
"reach": self._dict["reach"],
|
||||||
"start_kp": _translate("Unit", "Start_KP (m)"),
|
"start_kp": _translate("Unit", "Start_RK (m)"),
|
||||||
"end_kp": _translate("Unit", "End_KP (m)"),
|
"end_kp": _translate("Unit", "End_RK (m)"),
|
||||||
"d90": _translate("Unit", "D90"),
|
"d90": _translate("Unit", "D90"),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ class DIFAdisTSTranslate(MainTranslate):
|
||||||
self._dict["DIF AdisTS"] = _translate(
|
self._dict["DIF AdisTS"] = _translate(
|
||||||
"DIFAdisTS", "DIF AdisTS")
|
"DIFAdisTS", "DIF AdisTS")
|
||||||
|
|
||||||
self._dict["kp"] = self._dict["unit_kp"]
|
self._dict["kp"] = self._dict["unit_rk"]
|
||||||
|
|
||||||
self._sub_dict["table_headers"] = {
|
self._sub_dict["table_headers"] = {
|
||||||
"method": self._dict["method"],
|
"method": self._dict["method"],
|
||||||
|
|
@ -42,8 +42,8 @@ class DIFAdisTSTranslate(MainTranslate):
|
||||||
self._sub_dict["table_headers_spec"] = {
|
self._sub_dict["table_headers_spec"] = {
|
||||||
"method": self._dict["method"],
|
"method": self._dict["method"],
|
||||||
"reach": self._dict["reach"],
|
"reach": self._dict["reach"],
|
||||||
"start_kp": _translate("Unit", "Start_KP (m)"),
|
"start_kp": _translate("Unit", "Start_RK (m)"),
|
||||||
"end_kp": _translate("Unit", "End_KP (m)"),
|
"end_kp": _translate("Unit", "End_RK (m)"),
|
||||||
"dif": _translate("Unit", "DIF"),
|
"dif": _translate("Unit", "DIF"),
|
||||||
"b": _translate("Unit", "Coeff b"),
|
"b": _translate("Unit", "Coeff b"),
|
||||||
"c": _translate("Unit", "Coeff c"),
|
"c": _translate("Unit", "Coeff c"),
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ class IcAdisTSTranslate(MainTranslate):
|
||||||
self._dict["Initial condition AdisTS"] = _translate(
|
self._dict["Initial condition AdisTS"] = _translate(
|
||||||
"InitialConditionAdisTS", "Initial condition AdisTS")
|
"InitialConditionAdisTS", "Initial condition AdisTS")
|
||||||
|
|
||||||
self._dict["kp"] = self._dict["unit_kp"]
|
self._dict["kp"] = self._dict["unit_rk"]
|
||||||
|
|
||||||
self._sub_dict["table_headers"] = {
|
self._sub_dict["table_headers"] = {
|
||||||
"name": self._dict["name"],
|
"name": self._dict["name"],
|
||||||
|
|
@ -43,8 +43,8 @@ class IcAdisTSTranslate(MainTranslate):
|
||||||
self._sub_dict["table_headers_spec"] = {
|
self._sub_dict["table_headers_spec"] = {
|
||||||
"name": self._dict["name"],
|
"name": self._dict["name"],
|
||||||
"reach": self._dict["reach"],
|
"reach": self._dict["reach"],
|
||||||
"start_kp": _translate("Unit", "Start_KP (m)"),
|
"start_kp": _translate("Unit", "Start_RK (m)"),
|
||||||
"end_kp": _translate("Unit", "End_KP (m)"),
|
"end_kp": _translate("Unit", "End_RK (m)"),
|
||||||
"concentration": self._dict["unit_concentration"],
|
"concentration": self._dict["unit_concentration"],
|
||||||
"eg": _translate("Unit", "EG (m)"),
|
"eg": _translate("Unit", "EG (m)"),
|
||||||
"em": _translate("Unit", "EM (m)"),
|
"em": _translate("Unit", "EM (m)"),
|
||||||
|
|
|
||||||
|
|
@ -36,5 +36,5 @@ class OutputKpAdisTSTranslate(MainTranslate):
|
||||||
self._sub_dict["table_headers"] = {
|
self._sub_dict["table_headers"] = {
|
||||||
"title": self._dict["title"],
|
"title": self._dict["title"],
|
||||||
"reach": self._dict["reach"],
|
"reach": self._dict["reach"],
|
||||||
"kp": self._dict["unit_kp"],
|
"kp": self._dict["unit_rk"],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -746,7 +746,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="action_menu_output_kp">
|
<action name="action_menu_output_kp">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Output KP</string>
|
<string>Output RK</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="action_menu_run_adists">
|
<action name="action_menu_run_adists">
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="checkBox">
|
<widget class="QCheckBox" name="checkBox">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Enable / Disable Output KP AdisTS</string>
|
<string>Enable / Disable Output RK AdisTS</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="checked">
|
<property name="checked">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue