replace kp with rk

adists_release
Theophile Terraz 2024-09-24 16:28:23 +02:00
parent a52e6b86f4
commit 334633f0fb
9 changed files with 15 additions and 15 deletions

View File

@ -37,7 +37,7 @@ class AdistsOutputKpChecker(AbstractModelChecker):
self._description = _translate(
"Checker", "Check output Kp"
)
self._modules = Modules.OUTPUT_KP
self._modules = Modules.OUTPUT_RK
def run(self, study):
ok = True

View File

@ -54,7 +54,7 @@ class Modules(IterableFlag):
RESERVOIR = auto()
SEDIMENT_LAYER = auto()
ADDITIONAL_FILES = auto()
OUTPUT_KP = auto()
OUTPUT_RK = auto()
# Results
RESULTS = auto()
@ -78,7 +78,7 @@ class Modules(IterableFlag):
cls.ADDITIONAL_FILES,
cls.RESULTS,
cls.WINDOW_LIST,
cls.OUTPUT_KP,
cls.OUTPUT_RK,
]
@classmethod

View File

@ -30,7 +30,7 @@ class D90AdisTSTranslate(MainTranslate):
self._dict["D90 AdisTS"] = _translate(
"D90AdisTS", "D90 AdisTS")
self._dict["kp"] = self._dict["unit_kp"]
self._dict["kp"] = self._dict["unit_rk"]
self._sub_dict["table_headers"] = {
"name": self._dict["name"],
@ -40,7 +40,7 @@ class D90AdisTSTranslate(MainTranslate):
self._sub_dict["table_headers_spec"] = {
"name": self._dict["name"],
"reach": self._dict["reach"],
"start_kp": _translate("Unit", "Start_KP (m)"),
"end_kp": _translate("Unit", "End_KP (m)"),
"start_kp": _translate("Unit", "Start_RK (m)"),
"end_kp": _translate("Unit", "End_RK (m)"),
"d90": _translate("Unit", "D90"),
}

View File

@ -30,7 +30,7 @@ class DIFAdisTSTranslate(MainTranslate):
self._dict["DIF AdisTS"] = _translate(
"DIFAdisTS", "DIF AdisTS")
self._dict["kp"] = self._dict["unit_kp"]
self._dict["kp"] = self._dict["unit_rk"]
self._sub_dict["table_headers"] = {
"method": self._dict["method"],
@ -42,8 +42,8 @@ class DIFAdisTSTranslate(MainTranslate):
self._sub_dict["table_headers_spec"] = {
"method": self._dict["method"],
"reach": self._dict["reach"],
"start_kp": _translate("Unit", "Start_KP (m)"),
"end_kp": _translate("Unit", "End_KP (m)"),
"start_kp": _translate("Unit", "Start_RK (m)"),
"end_kp": _translate("Unit", "End_RK (m)"),
"dif": _translate("Unit", "DIF"),
"b": _translate("Unit", "Coeff b"),
"c": _translate("Unit", "Coeff c"),

View File

@ -30,7 +30,7 @@ class IcAdisTSTranslate(MainTranslate):
self._dict["Initial condition AdisTS"] = _translate(
"InitialConditionAdisTS", "Initial condition AdisTS")
self._dict["kp"] = self._dict["unit_kp"]
self._dict["kp"] = self._dict["unit_rk"]
self._sub_dict["table_headers"] = {
"name": self._dict["name"],
@ -43,8 +43,8 @@ class IcAdisTSTranslate(MainTranslate):
self._sub_dict["table_headers_spec"] = {
"name": self._dict["name"],
"reach": self._dict["reach"],
"start_kp": _translate("Unit", "Start_KP (m)"),
"end_kp": _translate("Unit", "End_KP (m)"),
"start_kp": _translate("Unit", "Start_RK (m)"),
"end_kp": _translate("Unit", "End_RK (m)"),
"concentration": self._dict["unit_concentration"],
"eg": _translate("Unit", "EG (m)"),
"em": _translate("Unit", "EM (m)"),

View File

@ -36,5 +36,5 @@ class OutputKpAdisTSTranslate(MainTranslate):
self._sub_dict["table_headers"] = {
"title": self._dict["title"],
"reach": self._dict["reach"],
"kp": self._dict["unit_kp"],
"kp": self._dict["unit_rk"],
}

View File

@ -746,7 +746,7 @@
</action>
<action name="action_menu_output_kp">
<property name="text">
<string>Output KP</string>
<string>Output RK</string>
</property>
</action>
<action name="action_menu_run_adists">

View File

@ -46,7 +46,7 @@
<item>
<widget class="QCheckBox" name="checkBox">
<property name="text">
<string>Enable / Disable Output KP AdisTS</string>
<string>Enable / Disable Output RK AdisTS</string>
</property>
<property name="checked">
<bool>true</bool>