Ticket #8562: check8562.py

File check8562.py, 562 bytes (added by Gesner Passos, 7 years ago)
Line 
1import ISISCommandInterface as i
2import SANSBatchMode as batch
3
4MASKFILE = FileFinder.getFullPath('MaskLOQData.txt')
5BATCHFILE = FileFinder.getFullPath('loq_batch_mode_reduction.csv')
6
7i.LOQ()
8i.MaskFile(MASKFILE)
9fit_settings = batch.BatchReduce(BATCHFILE, '.nxs', combineDet='rear', saveAlgs={})
10valid_flood = RenameWorkspace('first_time_rear')
11
12
13i.LOQ()
14MASKFILE = FileFinder.getFullPath('loqmask.txt')
15i.MaskFile(MASKFILE)
16fit_settings = batch.BatchReduce(BATCHFILE, '.nxs', combineDet='rear', saveAlgs={})
17invalid_flood = RenameWorkspace('first_time_rear')