Commit 585654c3 authored by Yuanpeng Zhang's avatar Yuanpeng Zhang
Browse files

cleaning up codes from previous step

parent de7546cc
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment