diff --git a/sohstationviewer/model/data_type_model.py b/sohstationviewer/model/data_type_model.py index df4ccf37f249cae46f2a1248d3f89cad7d67c452..f89db45b8ada5db2f5c38a27ac191c87d0101306 100644 --- a/sohstationviewer/model/data_type_model.py +++ b/sohstationviewer/model/data_type_model.py @@ -306,7 +306,6 @@ class DataTypeModel(): self.sort_all_data() self.track_info("Combine data.", LogType.INFO) self.combine_traces_in_all_data() - self.check_not_found_soh_channels() for key in self.data_time: if self.data_time[key] == [constants.HIGHEST_INT, 0]: # this happens when there is text or ascii only in the data @@ -450,19 +449,6 @@ class DataTypeModel(): execute_db(f'UPDATE PersistentData SET FieldValue="{self.tmp_dir}" ' f'WHERE FieldName="tempDataDirectory"') - def check_not_found_soh_channels(self): - all_chans_meet_req = ( - list(self.soh_data[self.selected_key].keys()) + - list(self.mass_pos_data[self.selected_key].keys()) + - list(self.log_data[self.selected_key].keys())) - - not_found_chans = [c for c in self.req_soh_chans - if c not in all_chans_meet_req] - if not_found_chans != []: - msg = (f"No data found for the following channels: " - f"{', '.join( not_found_chans)}") - self.processing_log.append((msg, LogType.WARNING)) - def combine_times_data_of_traces_w_spr_less_or_equal_1( self, data: Dict[str, Dict], selected_key: Union[(str, str), str], data_name: str):