Commit c5f96919 authored by Julia Garriga Ferrer's avatar Julia Garriga Ferrer
Browse files

[gui][noiseremoval] Fix typo

parent 773b64cd
Pipeline #50843 passed with stage
in 2 minutes and 17 seconds
......@@ -450,22 +450,22 @@ class NoiseRemovalWidget(qt.QMainWindow):
def step(self):
return self._step
@method.setter
@step.setter
def step(self, step):
self._step = step
if step is not None:
self._parametersDock.step.setCurrentText(step)
self._parametersDock.step.setText(str(step))
@property
def chunks(self):
return self._chunks
@method.setter
@chunks.setter
def chunks(self, chunks):
self._chunks = chunks
if chunks is not None:
self._parametersDock.verticalChunkSize.setCurrentText(chunks[0])
self._parametersDock.horizontalChunkSize.setCurrentText(chunks[1])
self._parametersDock.verticalChunkSize.setText(str(chunks[0]))
self._parametersDock.horizontalChunkSize.setText(str(chunks[1]))
@property
def background(self):
......
......@@ -104,7 +104,6 @@ class NoiseRemovalWidgetOW(OWWidget):
self.kernel_size = self._widget.mainWindow.size
self.step = self._widget.mainWindow.step
self.chunks = self._widget.mainWindow.chunks
print(self.step, self.chunks)
self.bottom_threshold = self._widget.mainWindow.bottom_threshold
self.Outputs.dataset.send(self._widget.mainWindow.getDataset())
self.Outputs.colormap.send(self._widget.mainWindow.getStackViewColormap())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment