Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
workflow
ewoksapps
est
Commits
6daccbf9
Commit
6daccbf9
authored
Oct 06, 2021
by
Henri Payno
Browse files
[orangecontrib] fix interaction since move to ewoksorange.bindings widgets
parent
1de4439f
Pipeline
#56042
passed with stages
in 6 minutes and 19 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
orangecontrib/est/widgets/larch/autobk.py
View file @
6daccbf9
...
...
@@ -157,7 +157,6 @@ class AutobkOW(
def
__init__
(
self
):
super
().
__init__
()
self
.
_latest_xas_obj
=
None
self
.
_window
=
AutobkWindow
(
parent
=
self
)
layout
=
gui
.
vBox
(
self
.
mainArea
,
"autobk"
).
layout
()
layout
.
addWidget
(
self
.
_window
)
...
...
@@ -179,8 +178,7 @@ class AutobkOW(
def
_updateProcess
(
self
):
"""Update settings keeping current xas obj"""
self
.
_update_settings
()
if
self
.
_latest_xas_obj
:
self
.
process
(
self
.
_latest_xas_obj
)
self
.
handleNewSignals
()
def
_update_settings
(
self
):
self
.
_larchSettings
=
self
.
_window
.
_parametersWindow
.
getParameters
()
...
...
orangecontrib/est/widgets/larch/mback.py
View file @
6daccbf9
...
...
@@ -132,7 +132,6 @@ class MbackOW(
def
__init__
(
self
):
super
().
__init__
()
self
.
_latest_xas_obj
=
None
self
.
_window
=
MbackWindow
(
parent
=
self
)
layout
=
gui
.
vBox
(
self
.
mainArea
,
"mback"
).
layout
()
layout
.
addWidget
(
self
.
_window
)
...
...
@@ -150,12 +149,10 @@ class MbackOW(
# set up (insure settings will be store
self
.
_update_settings
()
# self.handleNewSignals()
def
_updateProcess
(
self
):
self
.
_update_settings
()
if
self
.
_latest_xas_obj
:
self
.
process
(
self
.
_latest_xas_obj
)
self
.
handleNewSignals
()
def
_update_settings
(
self
):
self
.
_larchSettings
=
self
.
_window
.
_parametersWindow
.
getParameters
()
...
...
orangecontrib/est/widgets/larch/mback_norm.py
View file @
6daccbf9
...
...
@@ -135,7 +135,6 @@ class Mback_normOW(
def
__init__
(
self
):
super
().
__init__
()
self
.
_latest_xas_obj
=
None
self
.
_window
=
Mback_normWindow
(
parent
=
self
)
layout
=
gui
.
vBox
(
self
.
mainArea
,
"mback_norm"
).
layout
()
layout
.
addWidget
(
self
.
_window
)
...
...
@@ -156,8 +155,7 @@ class Mback_normOW(
def
_updateProcess
(
self
):
self
.
_update_settings
()
if
self
.
_latest_xas_obj
:
self
.
process
(
self
.
_latest_xas_obj
)
self
.
handleNewSignals
()
def
_update_settings
(
self
):
self
.
_larchSettings
=
self
.
_window
.
_parametersWindow
.
getParameters
()
...
...
orangecontrib/est/widgets/larch/pre_edge.py
View file @
6daccbf9
...
...
@@ -154,7 +154,6 @@ class PreEdgeOW(
def
__init__
(
self
):
super
().
__init__
()
self
.
_latest_xas_obj
=
None
self
.
_window
=
_PreEdgeWindow
(
parent
=
self
)
layout
=
gui
.
vBox
(
self
.
mainArea
,
"pre edge"
).
layout
()
layout
.
addWidget
(
self
.
_window
)
...
...
@@ -176,8 +175,7 @@ class PreEdgeOW(
def
_updateProcess
(
self
):
self
.
_update_settings
()
if
self
.
_latest_xas_obj
:
self
.
process
(
self
.
_latest_xas_obj
)
self
.
handleNewSignals
()
def
_update_settings
(
self
):
self
.
_larchSettings
=
self
.
_window
.
_parametersWindow
.
getParameters
()
...
...
orangecontrib/est/widgets/larch/xftf.py
View file @
6daccbf9
...
...
@@ -169,7 +169,6 @@ class XFTFOW(
def
__init__
(
self
):
super
().
__init__
()
self
.
_latest_xas_obj
=
None
self
.
_window
=
XFTFWindow
(
parent
=
self
)
layout
=
gui
.
vBox
(
self
.
mainArea
,
"xftf"
).
layout
()
layout
.
addWidget
(
self
.
_window
)
...
...
@@ -190,8 +189,7 @@ class XFTFOW(
def
_updateProcess
(
self
):
self
.
_update_settings
()
if
self
.
_latest_xas_obj
:
self
.
process
(
self
.
_latest_xas_obj
)
self
.
handleNewSignals
()
def
_update_settings
(
self
):
self
.
_larchSettings
=
self
.
_window
.
_parametersWindow
.
getParameters
()
...
...
orangecontrib/est/widgets/pymca/exafs.py
View file @
6daccbf9
...
...
@@ -135,7 +135,6 @@ class ExafsOW(
def
__init__
(
self
):
super
().
__init__
()
self
.
_latest_xas_obj
=
None
self
.
_window
=
ExafsWindow
()
layout
=
gui
.
vBox
(
self
.
mainArea
,
"exafs"
).
layout
()
layout
.
addWidget
(
self
.
_window
)
...
...
@@ -155,12 +154,9 @@ class ExafsOW(
# signal / slot connection
self
.
_window
.
_pymcaWindow
.
sigChanged
.
connect
(
self
.
_updateProcess
)
# self.handleNewSignals()
def
_updateProcess
(
self
):
self
.
_update_settings
()
if
self
.
_latest_xas_obj
:
self
.
process
(
self
.
_latest_xas_obj
)
self
.
handleNewSignals
()
def
_update_settings
(
self
):
self
.
_larchSettings
=
self
.
_window
.
_pymcaWindow
.
getParameters
()
...
...
orangecontrib/est/widgets/pymca/ft.py
View file @
6daccbf9
...
...
@@ -152,7 +152,6 @@ class FTOW(_ProcessForOrangeMixIn, ewokstaskclass=est.core.process.pymca.ft.PyMc
def
__init__
(
self
):
super
().
__init__
()
self
.
_latest_xas_obj
=
None
self
.
_window
=
FTWindow
(
parent
=
self
)
layout
=
gui
.
vBox
(
self
.
mainArea
,
"fourier transform"
).
layout
()
layout
.
addWidget
(
self
.
_window
)
...
...
@@ -169,8 +168,7 @@ class FTOW(_ProcessForOrangeMixIn, ewokstaskclass=est.core.process.pymca.ft.PyMc
def
_updateProcess
(
self
,
*
arv
,
**
kwargs
):
self
.
_update_settings
()
if
self
.
_latest_xas_obj
:
self
.
process
(
xas_obj
=
self
.
_latest_xas_obj
)
self
.
handleNewSignals
()
def
_update_settings
(
self
):
self
.
_pymcaSettings
=
self
.
_window
.
_pymcaWindow
.
getParameters
()
...
...
orangecontrib/est/widgets/pymca/k_weight.py
View file @
6daccbf9
...
...
@@ -85,7 +85,6 @@ class KWeightOW(
def
__init__
(
self
):
super
().
__init__
()
self
.
_latest_xas_obj
=
None
layout
=
gui
.
vBox
(
self
.
mainArea
,
"k weight"
).
layout
()
self
.
_window
=
KWeightWindow
(
parent
=
self
)
layout
.
addWidget
(
self
.
_window
)
...
...
@@ -102,8 +101,7 @@ class KWeightOW(
def
_updateProcess
(
self
,
*
arv
,
**
kwargs
):
self
.
_update_settings
()
if
self
.
_latest_xas_obj
:
self
.
process
(
self
.
_latest_xas_obj
)
self
.
handleNewSignals
()
def
_update_settings
(
self
):
self
.
_kWeightSetting
=
self
.
_window
.
_k_spin_box
.
value
()
...
...
orangecontrib/est/widgets/pymca/normalization.py
View file @
6daccbf9
...
...
@@ -202,7 +202,6 @@ class NormalizationOW(
def
__init__
(
self
):
super
().
__init__
()
self
.
_latest_xas_obj
=
None
self
.
_window
=
NormalizationWindow
(
parent
=
self
)
layout
=
gui
.
vBox
(
self
.
mainArea
,
"normalization"
).
layout
()
layout
.
addWidget
(
self
.
_window
)
...
...
@@ -228,8 +227,7 @@ class NormalizationOW(
def
_updateProcess
(
self
):
self
.
_update_settings
()
if
self
.
_latest_xas_obj
:
self
.
process
(
self
.
_latest_xas_obj
)
self
.
handleNewSignals
()
def
_update_settings
(
self
):
self
.
_pymcaSettings
=
self
.
_window
.
_pymcaWindow
.
getParameters
()
...
...
Write
Preview
Markdown
is supported
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