Acoustic inversion: Fix fine plot and minor change sand plot.
parent
a570ca3522
commit
abce4bac07
|
|
@ -1035,7 +1035,7 @@ class AcousticInversionTab(QWidget):
|
|||
self.verticalLayout_groupbox_plot_measured_vs_inverted_SSC_fine\
|
||||
.addWidget(self.canvas_inverted_vs_measured_SSC_fine)
|
||||
|
||||
if stg.SSC_fine[data_id].shape == (0,):
|
||||
if stg.SSC_fine[data_id].shape != (0,):
|
||||
fine_id = self.combobox_fine_sample_choice.currentData()
|
||||
|
||||
self.fine_sample_to_plot = [
|
||||
|
|
@ -1551,11 +1551,10 @@ class AcousticInversionTab(QWidget):
|
|||
)
|
||||
|
||||
def plot_measured_vs_inverted_SSC_sand(self):
|
||||
|
||||
if self.combobox_acoustic_data_choice.count() > 0:
|
||||
if self.combobox_acoustic_data_choice.count() <= 0:
|
||||
return
|
||||
|
||||
if stg.SSC_sand[self.combobox_acoustic_data_choice.currentIndex()].shape == (0,):
|
||||
|
||||
self.verticalLayout_groupbox_plot_measured_vs_inverted_SSC_sand.removeWidget(
|
||||
self.toolbar_inverted_vs_measured_SSC_sand)
|
||||
self.verticalLayout_groupbox_plot_measured_vs_inverted_SSC_sand.removeWidget(
|
||||
|
|
|
|||
Loading…
Reference in New Issue