Skip to content
Snippets Groups Projects

Add support for Q8 datalogger

Merged Kien Le requested to merge feature-#290-add_Q8_support into build-2025.1.0.0
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
import re
from typing import Dict, List
from typing import Dict, List, Set
from sohstationviewer.conf.constants import ColorMode
from sohstationviewer.database.process_db import execute_db_dict, execute_db
@@ -150,7 +150,7 @@ def get_seismic_chan_label(chan_id):
return label
def get_signature_channels():
def get_signature_channels() -> Dict[str, str]:
"""
return the dict {channel: dataType} in which channel is unique for dataType
"""
@@ -162,7 +162,7 @@ def get_signature_channels():
return sign_chan_data_type_dict
def get_all_channels():
def get_all_channels() -> Dict[str, Set[str]]:
"""
Get all the channels in the database alongside their associated data types.
Loading