Skip to content
GitLab
Menu
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
ca2ad08a
Commit
ca2ad08a
authored
Jul 20, 2021
by
Julia Garriga Ferrer
Browse files
[gui][noiseremoval] Set steps or chunks to None only if other is not
parent
9c19609b
Pipeline
#50878
passed with stage
in 3 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
darfix/gui/noiseRemovalWidget.py
View file @
ca2ad08a
...
...
@@ -26,7 +26,7 @@
__authors__
=
[
"J. Garriga"
]
__license__
=
"MIT"
__date__
=
"0
9
/0
2
/2021"
__date__
=
"
2
0/0
7
/2021"
import
logging
...
...
@@ -280,13 +280,13 @@ class NoiseRemovalWidget(qt.QMainWindow):
else
:
bg
=
None
self
.
_chunks
=
None
self
.
_step
=
None
if
self
.
_parametersDock
.
inDiskWidget
.
isVisible
():
if
self
.
_parametersDock
.
inDiskCheckbox
.
isChecked
():
self
.
_step
=
None
self
.
_chunks
=
[
int
(
self
.
_parametersDock
.
verticalChunkSize
.
text
()),
int
(
self
.
_parametersDock
.
horizontalChunkSize
.
text
())]
else
:
self
.
_chunks
=
None
self
.
_step
=
int
(
self
.
_parametersDock
.
step
.
text
())
self
.
_thread
=
OperationThread
(
self
,
self
.
_update_dataset
.
apply_background_subtraction
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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