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

Fix channels_db_info being None in test

parent f8ff465e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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