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

Merge branch 'bug-#273-masspos_line_not_read_in_log_file' into 'develop'

Fix mass-position data extracted from RT130 log files not being plotted

Closes #273

See merge request !318
parents 0a5880ff f55248fa
No related branches found
No related tags found
1 merge request!318Fix mass-position data extracted from RT130 log files not being plotted
Pipeline #4005 passed with stage
in 8 minutes and 30 seconds
......@@ -240,8 +240,13 @@ class RT130(GeneralData):
trace = {'startTmEpoch': times[0], 'endTmEpoch': times[-1],
'data': data, 'times': times}
if masspos_chan not in self.mass_pos_data[data_set_id]:
if masspos_chan[-1] in ['1', '2', '3']:
is_visible = self.include_mp123zne
else:
is_visible = self.include_mp456uvw
self.mass_pos_data[data_set_id][masspos_chan] = (
{'tracesInfo': []}
{'tracesInfo': [],
'visible': is_visible}
)
self.mass_pos_data[data_set_id][masspos_chan]['samplerate'] = 0
trace['startTmEpoch'] = times[0]
......
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