From bdeca2b44e476f49fb2029156fac88573b5cf03f Mon Sep 17 00:00:00 2001 From: brahim Date: Thu, 13 Mar 2025 15:41:04 +0100 Subject: [PATCH] Correction when the user clicks on the clear button (clear profile tail) #36 --- View/signal_processing_tab.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/View/signal_processing_tab.py b/View/signal_processing_tab.py index 7abee98..e2f17ce 100644 --- a/View/signal_processing_tab.py +++ b/View/signal_processing_tab.py @@ -767,7 +767,6 @@ class SignalProcessingTab(QWidget): stg.SNR_cross_section[self.combobox_acoustic_data_choice.currentIndex()] = np.array([]) stg.SNR_stream_bed[self.combobox_acoustic_data_choice.currentIndex()] = np.array([]) stg.time_noise[self.combobox_acoustic_data_choice.currentIndex()] = np.array([]) - stg.noise_method[self.combobox_acoustic_data_choice.currentIndex()] = 0 stg.SNR_filter_value[self.combobox_acoustic_data_choice.currentIndex()] = 0 stg.BS_raw_data_pre_process_SNR[self.combobox_acoustic_data_choice.currentIndex()] = np.array([]) @@ -778,7 +777,7 @@ class SignalProcessingTab(QWidget): stg.BS_stream_bed_pre_process_SNR[self.combobox_acoustic_data_choice.currentIndex()] = np.array([]) stg.BS_stream_bed_pre_process_average[self.combobox_acoustic_data_choice.currentIndex()] = np.array([]) - + print("stg.noise_method[self.combobox_acoustic_data_choice.currentIndex()]", stg.noise_method[self.combobox_acoustic_data_choice.currentIndex()]) if stg.noise_method[self.combobox_acoustic_data_choice.currentIndex()] == 0: self.lineEdit_noise_file.clear()