Sediment calibration: Add test on fine data selection for interpolate.

dev-brahim
Pierre-Antoine 2025-03-20 11:55:26 +01:00
parent 998e1e7f8f
commit b52acafd29
1 changed files with 6 additions and 2 deletions

View File

@ -1569,6 +1569,10 @@ class SedimentCalibrationTab(QWidget):
self._data_validity_message_box() self._data_validity_message_box()
return return
if len(stg.fine_sample_profile) == 0:
self._data_validity_message_box()
return
data_choice = self.combobox_acoustic_data_choice\ data_choice = self.combobox_acoustic_data_choice\
.currentIndex() .currentIndex()
@ -1659,8 +1663,8 @@ class SedimentCalibrationTab(QWidget):
.scaledToHeight(32, Qt.SmoothTransformation) .scaledToHeight(32, Qt.SmoothTransformation)
) )
msgBox.setText( msgBox.setText(
"Please select and valid the sample data with" "Please select and valid the find and sand"
+ "click on 'sample plot' button" + "sample data with click on 'sample plot' button"
) )
msgBox.setStandardButtons(QMessageBox.Ok) msgBox.setStandardButtons(QMessageBox.Ok)
msgBox.exec() msgBox.exec()