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

Merge branch 'i217_remove_first_time_from_PlottingChannelProcessor' into 'master'

remove argument first_time from PlottingChannelProcessor

Closes #217

See merge request !249
parents f7c586ee c689e13a
No related branches found
No related tags found
1 merge request!249remove argument first_time from PlottingChannelProcessor
Pipeline #3590 passed with stage
in 9 minutes and 39 seconds
...@@ -180,8 +180,7 @@ class MultiThreadedPlottingWidget(PlottingWidget): ...@@ -180,8 +180,7 @@ class MultiThreadedPlottingWidget(PlottingWidget):
continue continue
channel_processor = PlottingChannelProcessor( channel_processor = PlottingChannelProcessor(
plotting_data[chan_id], chan_id, plotting_data[chan_id], chan_id,
self.min_x, self.max_x, self.min_x, self.max_x
True
) )
self.data_processors.append(channel_processor) self.data_processors.append(channel_processor)
channel_processor.finished.connect(self.process_channel) channel_processor.finished.connect(self.process_channel)
......
...@@ -15,8 +15,7 @@ class PlottingChannelProcessor(QtCore.QRunnable): ...@@ -15,8 +15,7 @@ class PlottingChannelProcessor(QtCore.QRunnable):
The class that handles trimming excess data and interfacing with a The class that handles trimming excess data and interfacing with a
downsampler for a plotting channel. downsampler for a plotting channel.
""" """
def __init__(self, channel_data, channel_id, start_time, end_time, def __init__(self, channel_data, channel_id, start_time, end_time):
first_time):
super().__init__() super().__init__()
self.signals = PlottingChannelProcessorSignals() self.signals = PlottingChannelProcessorSignals()
# Aliasing the signals for ease of use # Aliasing the signals for ease of use
...@@ -30,7 +29,6 @@ class PlottingChannelProcessor(QtCore.QRunnable): ...@@ -30,7 +29,6 @@ class PlottingChannelProcessor(QtCore.QRunnable):
self.start_time = start_time self.start_time = start_time
self.end_time = end_time self.end_time = end_time
self.first_time = first_time
def run(self): def run(self):
""" """
......
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