Ticket #9839: test_history.py

File test_history.py, 703 bytes (added by Samuel Jackson, 6 years ago)
Line 
1import os
2
3Load(Filename='TSC11453.raw', OutputWorkspace='TSC11453', LoaderName='LoadRaw', LoaderVersion=3, LoadLogFiles=False)
4
5ChopData(InputWorkspace='TSC11453', OutputWorkspace='TSC11453', IntegrationRangeLower=5000, IntegrationRangeUpper=10000, MonitorWorkspaceIndex=140)
6MergeRuns(InputWorkspaces='TSC11453_1,TSC11453_2,TSC11453_3,TSC11453_4', OutputWorkspace='TSC11453_merged')
7
8SaveNexusProcessed(InputWorkspace='TSC11453_merged', Filename='TSC11453-SNP.nxs')
9SaveNexus(InputWorkspace='TSC11453_merged', Filename='TSC11453-SN.nxs')
10DeleteWorkspace('TSC11453')
11
12assert os.path.isfile('/home/chs18285/workspace/TSC11453-SN.nxs')
13assert os.path.isfile('/home/chs18285/workspace/TSC11453-SNP.nxs')
14