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

Remove mass-position event lines

parent be63795b
No related branches found
No related tags found
1 merge request!223Remove mass-position event lines
......@@ -29,7 +29,7 @@ from sohstationviewer.model.reftek_data.reftek_reader import core, soh_packet
from sohstationviewer.model.reftek_data.log_info import LogInfo
def format_timestamp_as_mass_pos_time(timestamp: float) -> str:
def format_timestamp_as_mass_pos_time (timestamp: float) -> str:
"""
Format a UTC timestamp in the format of a mass-position time in SOH
messages.
......@@ -377,8 +377,8 @@ class RT130(GeneralData):
cur_key = (rt130._data[0]['unit_id'].decode(),
f"{rt130._data[0]['experiment_number']}")
self.populate_cur_key_for_all_data(cur_key)
self.get_ehet_in_log_data(rt130, cur_key)
if data_stream != 9:
self.get_ehet_in_log_data(rt130, cur_key)
self.get_mass_pos_data_and_waveform_data(rt130, data_stream, cur_key)
def get_ehet_in_log_data(self, rt130: core.Reftek130,
......
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