diff --git a/Testing/Data/SystemTest/ISIS_Powder/input/ISIS_Powder-POLARIS98533_TotalScatteringInput.nxs.md5 b/Testing/Data/SystemTest/ISIS_Powder/input/ISIS_Powder-POLARIS98533_TotalScatteringInput.nxs.md5 new file mode 100644 index 0000000000000000000000000000000000000000..c18228056958b8ece48f9f48b26d9c6479837ddb --- /dev/null +++ b/Testing/Data/SystemTest/ISIS_Powder/input/ISIS_Powder-POLARIS98533_TotalScatteringInput.nxs.md5 @@ -0,0 +1 @@ +fb33507ac0702dd7d513d79e352637b4 \ No newline at end of file diff --git a/Testing/SystemTests/tests/analysis/ISIS_PowderPolarisTest.py b/Testing/SystemTests/tests/analysis/ISIS_PowderPolarisTest.py index 8d7dcf00e2a4daff2a0a3e24b466c6b445ae80ae..8f5df35905dec56db43a12c5ed9242f48036953d 100644 --- a/Testing/SystemTests/tests/analysis/ISIS_PowderPolarisTest.py +++ b/Testing/SystemTests/tests/analysis/ISIS_PowderPolarisTest.py @@ -39,6 +39,8 @@ calibration_dir = os.path.join(input_dir, calibration_folder_name) spline_path = os.path.join(calibration_dir, spline_rel_path) unsplined_van_path = os.path.join(calibration_dir, unsplined_van_rel_path) +total_scattering_input_file = os.path.join(input_dir, "ISIS_Powder-POLARIS98533_TotalScatteringInput.nxs") + class CreateVanadiumTest(stresstesting.MantidStressTest): @@ -102,7 +104,7 @@ class TotalScatteringTest(stresstesting.MantidStressTest): def runTest(self): # Load Focused ws - mantid.LoadNexus(Filename="ISIS_Powder-POLARIS98533_FocusSempty.nxs", OutputWorkspace='98533-Results-TOF-Grp') + mantid.LoadNexus(Filename=total_scattering_input_file, OutputWorkspace='98533-Results-TOF-Grp') self.pdf_output = run_total_scattering('98533', False) def validate(self): @@ -131,6 +133,7 @@ def _gen_required_files(): # Generate file names of form "INSTxxxxx.nxs" input_files = [os.path.join(input_dir, (inst_name + "000" + number + ".nxs")) for number in required_run_numbers] input_files.append(calibration_map_path) + input_files.append(os.path.join(input_dir, "ISIS_Powder-POLARIS98533_TotalScatteringInput.nxs")) return input_files