Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tomwer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tomotools
tomwer
Commits
fe9b9cce
Commit
fe9b9cce
authored
4 years ago
by
payno
Committed by
payno
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[FtseriesOW] remove logger import
parent
1e1b31d6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
orangecontrib/tomwer/widgets/reconstruction/FtseriesOW.py
+6
-3
6 additions, 3 deletions
orangecontrib/tomwer/widgets/reconstruction/FtseriesOW.py
with
6 additions
and
3 deletions
orangecontrib/tomwer/widgets/reconstruction/FtseriesOW.py
+
6
−
3
View file @
fe9b9cce
...
...
@@ -32,12 +32,15 @@ from Orange.widgets import widget, gui
from
Orange.widgets.settings
import
Setting
from
Orange.widgets.widget
import
Input
,
Output
from
orangecontrib.tomwer.orange.settings
import
CallbackSettingsHandler
from
tomwer.core.process.reconstruction.ftseries.ftseries
import
_Ftseries
,
logger
from
tomwer.core.process.reconstruction.ftseries.ftseries
import
_Ftseries
from
tomwer.gui.reconstruction.ftserie
import
FtserieWidget
from
tomwer.web.client
import
OWClient
from
tomwer.core.scan.scanbase
import
TomwerScanBase
from
silx.gui
import
qt
import
copy
import
logging
logger
=
logging
.
getLogger
(
__name__
)
class
FtseriesOW
(
widget
.
OWWidget
,
OWClient
,
WidgetLongProcessing
):
...
...
@@ -185,10 +188,10 @@ class FtseriesOW(widget.OWWidget, OWClient, WidgetLongProcessing):
self
.
processing_state
(
working
=
False
,
info
=
'
'
)
def
_log_succeed
(
self
,
scan
):
logger
.
processSucceed
(
"
S
ucceed to reconstruct {}
"
.
format
(
str
(
scan
)))
logger
.
processSucceed
(
"
Pyhst s
ucceed to reconstruct {}
"
.
format
(
str
(
scan
)))
def
_log_failed
(
self
,
scan
):
logger
.
processFailed
(
"
F
ailed to reconstruct {}
"
.
format
(
str
(
scan
)))
logger
.
processFailed
(
"
Pyhst f
ailed to reconstruct {}
"
.
format
(
str
(
scan
)))
def
close
(
self
):
self
.
_ftserie
.
reconsStack
.
stop
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment