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

Documentation

parent 2191c450
No related branches found
No related tags found
No related merge requests found
Pipeline #3105 failed with stage
in 2 minutes and 9 seconds
...@@ -171,6 +171,8 @@ class DataLoader(QtCore.QObject): ...@@ -171,6 +171,8 @@ class DataLoader(QtCore.QObject):
:param include_mp456: if mass position channels 4,5,6 are requested :param include_mp456: if mass position channels 4,5,6 are requested
:param rt130_log_files: list of paths to RT130 log files selected by :param rt130_log_files: list of paths to RT130 log files selected by
the user the user
:param include_masspos_in_soh_messages: whether to include
mass-position data in RT130 SOH messages
""" """
if self.running: if self.running:
# TODO: implement showing an error window # TODO: implement showing an error window
......
...@@ -141,6 +141,8 @@ class RT130(GeneralData): ...@@ -141,6 +141,8 @@ class RT130(GeneralData):
soh_header = '' soh_header = ''
soh_footer = '' soh_footer = ''
soh_messages = self.log_data[key]['SOH'] soh_messages = self.log_data[key]['SOH']
# We want to include a log file header only when there is not
# already one.
possible_programs = ['logpeek', 'SOHStationViewer', 'rt2ms'] possible_programs = ['logpeek', 'SOHStationViewer', 'rt2ms']
message_has_header = any(soh_messages[0].startswith(program) message_has_header = any(soh_messages[0].startswith(program)
for program for program
......
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