From d1657e3f7f879388c1a478cc0ea940d4c30e4ce9 Mon Sep 17 00:00:00 2001
From: kienle <kienle@passcal.nmt.edu>
Date: Fri, 7 Mar 2025 14:18:03 -0700
Subject: [PATCH] Fix channels_db_info being None in test

---
 sohstationviewer/model/mseed_data/mseed_reader.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sohstationviewer/model/mseed_data/mseed_reader.py b/sohstationviewer/model/mseed_data/mseed_reader.py
index 8a52a350..75d0fcb4 100644
--- a/sohstationviewer/model/mseed_data/mseed_reader.py
+++ b/sohstationviewer/model/mseed_data/mseed_reader.py
@@ -51,7 +51,7 @@ class MSeedReader:
                  waveform_data: Dict = {},
                  log_data: LogData = {},
                  gap_minimum: Optional[float] = None,
-                 channels_db_info: Dict = None,
+                 channels_db_info: Dict = {},
                  data_type: str = None,
                  ) -> None:
         """
@@ -356,7 +356,8 @@ class MSeedReader:
                     data_points = None
                     times = None
             else:
-                data_points = list(record.get_two_data_points())
+                data_points = (record.get_two_data_points())
+                print(record.__dict__)
                 times = [record.record_metadata.start_time,
                          record.record_metadata.end_time]
             self.append_data(data_dict, record, data_points, times)
-- 
GitLab