Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
f1055fb8
Commit
f1055fb8
authored
Jun 05, 2020
by
McDonnell, Marshall
Browse files
Re #29791 - Fix using copyProperties to declareProperty in LRAutoReduction
parent
ad6abf72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/PythonInterface/plugins/algorithms/LRAutoReduction.py
View file @
f1055fb8
...
...
@@ -86,7 +86,8 @@ class LRAutoReduction(PythonAlgorithm):
self
.
declareProperty
(
"SlitTolerance"
,
0.02
,
doc
=
"Tolerance for matching slit positions"
)
self
.
declareProperty
(
"NormalizationType"
,
"DirectBeam"
,
doc
=
"Normalization type for reduction. Allowed values: ['DirectBeam', 'WithReference']"
)
self
.
copyProperties
(
"LRReductionWithReference"
,
"Refl1DModelParameters"
)
self
.
declareProperty
(
"Refl1DModelParameters"
,
""
,
doc
=
"JSON string for Refl1D theoretical model parameters for 'NormalizationType'=='WithReference' "
)
def
load_data
(
self
):
"""
...
...
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