Geometry: Add water level at shift click, end of onpickevent refactoring.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-05-07 16:58:29 +02:00
1 parent f4561494f6
commit 317cbf904d
4 files changed
+106 -25

No files matched your search

+3 -3
View File
@@ -135,7 +135,6 @@ class RubarBE(CommandLineSolver):
name = self._study.name
return f"{name}.TRA"
def export(self, study, repertory, qlog=None):
self._study = study
name = study.name.replace(" ", "_")
@@ -384,7 +383,9 @@ class RubarBE(CommandLineSolver):
last = profiles[-1]
if first.kp not in data or last.kp not in data:
logger.error("Study initial condition is not fully defined")
logger.error(
"Study initial condition is not fully defined"
)
return
f_h_s = self._export_tps_profile_height_speed(first, data)
@@ -419,7 +420,6 @@ class RubarBE(CommandLineSolver):
# Last mail
f.write(f"{ind:>5} {f_h_s[0]} {f_h_s[1]}")
def _export_tps_init_data(self, ics):
data = {}