From 198ebe5f1b508664584471d480fc4b76005bfec8 Mon Sep 17 00:00:00 2001
From: kienle <kienle@passcal.nmt.edu>
Date: Tue, 26 Sep 2023 20:01:29 -0600
Subject: [PATCH] Fix data type cannot be detected

---
 sohstationviewer/view/main_window.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sohstationviewer/view/main_window.py b/sohstationviewer/view/main_window.py
index 07ee57af9..30f3b1986 100755
--- a/sohstationviewer/view/main_window.py
+++ b/sohstationviewer/view/main_window.py
@@ -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)
 
-- 
GitLab