Skip to content
Snippets Groups Projects
Commit 0bbf2405 authored by Lan Dam's avatar Lan Dam
Browse files

Merge branch 'i227_TPS_not_plotted' into 'master'

fix TPS not plotted

Closes #227

See merge request !257
parents 3f1cfa0a d6b47ae1
No related branches found
No related tags found
1 merge request!257fix TPS not plotted
Pipeline #3577 passed with stage
in 8 minutes and 28 seconds
......@@ -239,12 +239,13 @@ class TimePowerSquaredWidget(plotting_widget.PlottingWidget):
:param chan_id: channel name in str or None if no data, '' if stop
"""
if chan_id is None:
self.done()
msg = None
msg = f'{self.get_plot_name()} has no data.'
elif chan_id == '':
msg = f'{self.get_plot_name()} stopped.'
else:
msg = f'{self.get_plot_name()} finished.'
self.done()
if msg:
self.parent.processing_log_msg += msg + "\n"
display_tracking_info(
......
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