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
585654c3
Commit
585654c3
authored
Sep 20, 2021
by
Yuanpeng Zhang
Browse files
cleaning up codes from previous step
parent
de7546cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/PythonInterface/plugins/algorithms/SetSampleFromLogs.py
View file @
585654c3
...
...
@@ -166,17 +166,12 @@ class SetSampleFromLogs(DistributedDataProcessorAlgorithm):
environment
=
self
.
_createEnvironment
(
runObject
,
instrEnum
)
# let SetSample generate errors if anything is wrong
if
self
.
getProperty
(
"Environment"
).
value
.
values
():
SetSample
(
InputWorkspace
=
wksp
,
Material
=
material
,
Geometry
=
geometry
,
Environment
=
environment
,
ContainerGeometry
=
geometryContainer
,
ContainerMaterial
=
materialContainer
)
else
:
SetSample
(
InputWorkspace
=
wksp
,
Material
=
material
,
Geometry
=
geometry
)
SetSample
(
InputWorkspace
=
wksp
,
Material
=
material
,
Geometry
=
geometry
,
Environment
=
environment
,
ContainerGeometry
=
geometryContainer
,
ContainerMaterial
=
materialContainer
)
# Register algorithm with Mantid.
...
...
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