Skip to content
Snippets Groups Projects
Commit 198ebe5f authored by Kien Le's avatar Kien Le
Browse files

Fix data type cannot be detected

parent 4dec9871
No related branches found
No related tags found
No related merge requests found
......@@ -500,6 +500,7 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
for item in self.open_files_list.selectedItems():
self.rt130_log_files.append(Path(item.file_path))
self.data_type = 'RT130'
self.is_multiplex = False
elif self.rt130_das_dict != {}:
# create selected_rt130_paths from the selected rt130 das names
for item in self.open_files_list.selectedItems():
......@@ -535,7 +536,7 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
msg = "No directories have been selected."
raise Exception(msg)
if self.rt130_das_dict == {}:
if self.rt130_das_dict == {} and not self.log_checkbox.isChecked():
self.data_type, self.is_multiplex = detect_data_type(
self.list_of_dir)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment