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
tomotools
tomwer
Commits
cb49e2fb
Commit
cb49e2fb
authored
Mar 25, 2022
by
payno
Committed by
Henri Payno
May 03, 2022
Browse files
stack: I normalization: remove useless overwriting of FIFO's `_end_computation`
parent
d40c7731
Changes
1
Hide whitespace changes
Inline
Side-by-side
tomwer/synctools/stacks/reconstruction/normalization.py
View file @
cb49e2fb
...
...
@@ -78,15 +78,6 @@ class INormalizationProcessStack(FIFO, qt.QObject):
self
.
_computationThread
.
finished
.
connect
(
fct_callback
)
self
.
_computationThread
.
start
()
def
_end_computation
(
self
,
scan
,
callback
):
"""
callback when the computation thread is finished
:param scan: pass if no call to '_computationThread is made'
"""
assert
isinstance
(
scan
,
TomwerScanBase
)
FIFO
.
_end_computation
(
self
,
scan
=
scan
,
callback
=
callback
)
def
_end_threaded_computation
(
self
,
callback
=
None
):
assert
self
.
_scan_currently_computed
is
not
None
self
.
_computationThread
.
finished
.
disconnect
()
...
...
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