diff --git a/Testing/SystemTests/tests/analysis/ISIS_PowderGemTest.py b/Testing/SystemTests/tests/analysis/ISIS_PowderGemTest.py index 3219963e0ffa61e0f9ab3a1503615d25e92f8469..af1a8ccc5aa4a195a28fbb3c5f7a64fa2543f398 100644 --- a/Testing/SystemTests/tests/analysis/ISIS_PowderGemTest.py +++ b/Testing/SystemTests/tests/analysis/ISIS_PowderGemTest.py @@ -148,7 +148,7 @@ def _compare_ws(reference_file_name, results): is_valid = True if len(results) > 0 else False for ws, ref in zip(results, ref_ws): - if not (mantid.CompareWorkspaces(Workspace1=ws, Workspace2=ref)): + if not (mantid.CompareWorkspaces(Workspace1=ws, Workspace2=ref)[0]): is_valid = False print (ws.getName() + " was not equal to: " + ref.getName()) diff --git a/Testing/SystemTests/tests/analysis/ISIS_PowderHRPDTest.py b/Testing/SystemTests/tests/analysis/ISIS_PowderHRPDTest.py index 6977b7d3b2e1db40f39a93faf14dea68c7fd9d22..4e50cf3caa2ccefadcd73903f9c0693a7a66fae3 100644 --- a/Testing/SystemTests/tests/analysis/ISIS_PowderHRPDTest.py +++ b/Testing/SystemTests/tests/analysis/ISIS_PowderHRPDTest.py @@ -94,7 +94,7 @@ def _compare_ws(reference_file_name, results): is_valid = len(results) > 0 for (ws, ref) in zip(results, ref_ws): - if not mantid.CompareWorkspaces(Workspace1=ws, Workspace2=ref): + if not (mantid.CompareWorkspaces(Workspace1=ws, Workspace2=ref)[0]): is_valid = False print("{} was not equal to {}".format(ws.getName(), ref.getName())) diff --git a/Testing/SystemTests/tests/analysis/ISIS_PowderPearlTest.py b/Testing/SystemTests/tests/analysis/ISIS_PowderPearlTest.py index 1b3731a5357d07a680ea3bad2742901ab1ce33df..3fc17b200354b822ea90fde01d86a70905b5486b 100644 --- a/Testing/SystemTests/tests/analysis/ISIS_PowderPearlTest.py +++ b/Testing/SystemTests/tests/analysis/ISIS_PowderPearlTest.py @@ -203,7 +203,7 @@ def _compare_ws(reference_file_name, results): is_valid = len(results) > 0 - if not (mantid.CompareWorkspaces(Workspace1=results, Workspace2=ref_ws)): + if not (mantid.CompareWorkspaces(Workspace1=results, Workspace2=ref_ws)[0]): is_valid = False print(results.getName() + " was not equal to: " + ref_ws.getName()) diff --git a/Testing/SystemTests/tests/analysis/ISIS_PowderPolarisTest.py b/Testing/SystemTests/tests/analysis/ISIS_PowderPolarisTest.py index 963075d6e66a3a11a93bf0de02888caace41ab80..0d921c8d481e418821e76cad337ca74a9b5dcdc6 100644 --- a/Testing/SystemTests/tests/analysis/ISIS_PowderPolarisTest.py +++ b/Testing/SystemTests/tests/analysis/ISIS_PowderPolarisTest.py @@ -154,7 +154,7 @@ def _compare_ws(reference_file_name, results): is_valid = len(results) > 0 for ws, ref in zip(results, ref_ws): - if not (mantid.CompareWorkspaces(Workspace1=ws, Workspace2=ref)): + if not (mantid.CompareWorkspaces(Workspace1=ws, Workspace2=ref)[0]): is_valid = False print (ws.getName() + " was not equal to: " + ref.getName())