Newer
Older
from __future__ import (absolute_import, division, print_function)
import ISISCommandInterface as i
MASKFILE = FileFinder.getFullPath('MaskLOQData.txt')
BATCHFILE = FileFinder.getFullPath('loq_batch_mode_reduction.csv')
class LOQMinimalBatchReduction(stresstesting.MantidStressTest):
def __init__(self):
super(LOQMinimalBatchReduction, self).__init__()
config['default.instrument'] = 'LOQ'
def runTest(self):
import SANSBatchMode as batch
i.LOQ()
i.MaskFile(MASKFILE)
batch.BatchReduce(BATCHFILE, '.nxs', combineDet='merged', saveAlgs={})
# note increased tolerance to something which quite high
# this is partly a temperary measure, but also justified by
# when overlaying the two options they overlap very well
self.disableChecking.append('Instrument')
return 'first_time_merged', 'LOQReductionMergedData.nxs'