mirror of
https://forgemia.inra.fr/theophile.terraz/acoused.git
synced 2026-10-29 19:10:40 +01:00
SQL: Settings: Fix bottom detection value save/load/display.
This commit is contained in:
1 parent
ff39ad0536
commit
55f03fdd83
3 files changed
+30
-15
No files matched your search
@@ -104,7 +104,7 @@ class CreateTableForSaveAs:
|
||||
tmax_index INTEGER, tmax_value FLOAT,
|
||||
rmin_index INTEGER, rmin_value FLOAT,
|
||||
rmax_index INTEGER, rmax_value FLOAT,
|
||||
freq_bottom_detection_index FLOAT,
|
||||
freq_bottom_detection_index INTEGER,
|
||||
freq_bottom_detection_value STRING,
|
||||
depth_bottom_detection_min FLOAT,
|
||||
depth_bottom_detection_max FLOAT,
|
||||
@@ -455,9 +455,9 @@ class CreateTableForSaveAs:
|
||||
int(stg.rmax[i][0]), stg.rmax[i][1],
|
||||
stg.freq_bottom_detection[i][0],
|
||||
stg.freq_bottom_detection[i][1],
|
||||
stg.depth_bottom_detection_min,
|
||||
stg.depth_bottom_detection_max,
|
||||
stg.depth_bottom_detection_interval,
|
||||
stg.depth_bottom_detection_min[i],
|
||||
stg.depth_bottom_detection_max[i],
|
||||
stg.depth_bottom_detection_interval[i],
|
||||
stg.SNR_filter_value[i],
|
||||
stg.Nb_cells_to_average_BS_signal[i]
|
||||
)
|
||||
|
||||
@@ -528,9 +528,9 @@ class ReadTableForOpen:
|
||||
stg.rmin.append((next(it), next(it)))
|
||||
stg.rmax.append((next(it), next(it)))
|
||||
stg.freq_bottom_detection.append((next(it), next(it)))
|
||||
stg.depth_bottom_detection_min = next(it)
|
||||
stg.depth_bottom_detection_max = next(it)
|
||||
stg.depth_bottom_detection_interval = next(it)
|
||||
stg.depth_bottom_detection_min.append(next(it))
|
||||
stg.depth_bottom_detection_max.append(next(it))
|
||||
stg.depth_bottom_detection_interval.append(next(it))
|
||||
stg.SNR_filter_value.append(next(it))
|
||||
stg.Nb_cells_to_average_BS_signal.append(next(it))
|
||||
|
||||
|
||||
Reference in new issue
Block a user