From 2ca259c20d45c643725482dc8daced1d1e801819 Mon Sep 17 00:00:00 2001
From: kienle <kienle@passcal.nmt.edu>
Date: Tue, 26 Sep 2023 20:02:25 -0600
Subject: [PATCH] Fix log file not being passed along with full path

---
 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 30f3b1986..66cf9d6d5 100755
--- a/sohstationviewer/view/main_window.py
+++ b/sohstationviewer/view/main_window.py
@@ -498,7 +498,8 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
         root_dir = Path(self.curr_dir_line_edit.text())
         if self.log_checkbox.isChecked():
             for item in self.open_files_list.selectedItems():
-                self.rt130_log_files.append(Path(item.file_path))
+                log_abspath = root_dir.joinpath(item.file_path)
+                self.rt130_log_files.append(log_abspath)
             self.data_type = 'RT130'
             self.is_multiplex = False
         elif self.rt130_das_dict != {}:
-- 
GitLab