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

Take into account the new conversion policy

Since by default, LoadILLTOF now loads without converting the bin edges to TOF,
this algorithm needed to set the parameter to true.
parent 3569bd7a
......@@ -734,7 +734,7 @@ class DirectILLCollectData(DataProcessorAlgorithm):
if inputFiles:
mergedWSName = self._names.withSuffix('merged')
mainWS = LoadAndMerge(Filename=inputFiles, OutputWorkspace=mergedWSName,
LoaderName='LoadILLTOF', EnableLogging=self._subalgLogging)
LoaderName='LoadILLTOF', LoaderOptions={"convertToTOF": True}, EnableLogging=self._subalgLogging)
else:
mainWS = self.getProperty(common.PROP_INPUT_WS).value
self._cleanup.protect(mainWS)
......
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