Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
89cc77d4
Commit
89cc77d4
authored
Sep 20, 2021
by
Yuanpeng Zhang
Committed by
Peterson, Peter
Sep 21, 2021
Browse files
deal with environment being empty properly
parent
5740cb3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Framework/PythonInterface/plugins/algorithms/SetSampleFromLogs.py
View file @
89cc77d4
...
...
@@ -167,16 +167,16 @@ class SetSampleFromLogs(DistributedDataProcessorAlgorithm):
# let SetSample generate errors if anything is wrong
if
self
.
getProperty
(
"Environment"
).
value
.
values
():
SetSample
(
InputWorkspace
=
wksp
,
Material
=
material
,
Geometry
=
geometry
)
else
:
SetSample
(
InputWorkspace
=
wksp
,
Material
=
material
,
Geometry
=
geometry
,
Environment
=
environment
,
ContainerGeometry
=
geometryContainer
,
ContainerMaterial
=
materialContainer
)
else
:
SetSample
(
InputWorkspace
=
wksp
,
Material
=
material
,
Geometry
=
geometry
)
# Register algorithm with Mantid.
...
...
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