Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
XRD
darfix
Commits
c5f96919
Commit
c5f96919
authored
Jul 20, 2021
by
Julia Garriga Ferrer
Browse files
[gui][noiseremoval] Fix typo
parent
773b64cd
Pipeline
#50843
passed with stage
in 2 minutes and 17 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
darfix/gui/noiseRemovalWidget.py
View file @
c5f96919
...
...
@@ -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
.
set
Current
Text
(
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
.
set
Current
Text
(
chunks
[
0
])
self
.
_parametersDock
.
horizontalChunkSize
.
set
Current
Text
(
chunks
[
1
])
self
.
_parametersDock
.
verticalChunkSize
.
setText
(
str
(
chunks
[
0
])
)
self
.
_parametersDock
.
horizontalChunkSize
.
setText
(
str
(
chunks
[
1
])
)
@
property
def
background
(
self
):
...
...
orangecontrib/darfix/widgets/noiseremoval.py
View file @
c5f96919
...
...
@@ -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
())
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment