Commit dbc79c36 authored by Mathieu Tillet's avatar Mathieu Tillet
Browse files

Set correct parameter on various call to load

On a few remaining occurences, the default parameter
(convertToTOF=false) was not the expected one for the test to pass.
parent 5fa588c5
......@@ -210,9 +210,9 @@ class IN6(systemtesting.MantidSystemTest):
class IN5_Tube_Background(systemtesting.MantidSystemTest):
def runTest(self):
Load(Filename='ILL/IN5/Epp.nxs', OutputWorkspace='Epp')
Load(Filename='ILL/IN5/Sample.nxs', OutputWorkspace='Sample')
Load(Filename='ILL/IN5/Vmask.nxs', OutputWorkspace='Vmask')
Load(Filename='ILL/IN5/Epp.nxs', OutputWorkspace='Epp', convertToTOF=True)
Load(Filename='ILL/IN5/Sample.nxs', OutputWorkspace='Sample', convertToTOF=True)
Load(Filename='ILL/IN5/Vmask.nxs', OutputWorkspace='Vmask', convertToTOF=True)
args = {'InputWorkspace':'Sample',
'DiagnosticsWorkspace':'Vmask',
'EPPWorkspace':'Epp',
......@@ -249,7 +249,7 @@ class IN5_Mask_Non_Overlapping_Bins(systemtesting.MantidSystemTest):
OutputEPPWorkspace='Epp'
)
ws = Load(run)
ws = Load(run, convertToTOF=True)
self.ecrase(ws)
DirectILLCollectData(
......
......@@ -140,7 +140,7 @@ For usage of this algorithm as part of the direct geometry data reduction, check
# It is recommended to use DirectILLCollectData over the basic Load
preprocessed = DirectILLCollectData('ILL/IN4/087294+087295.nxs')
# Compare to simply loading the data
raw = Load('ILL/IN4/087294+087295.nxs')
raw = Load('ILL/IN4/087294+087295.nxs', convertToTOF=true)
# The workspace loaded by 'Load' includes monitor data which
# makes 2D plotting difficult
nRaw = raw.getNumberHistograms()
......
Supports Markdown
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