Skip to content

Commit

Permalink
Update SANSWorkflow test following algorithm update. Refs #6151
Browse files Browse the repository at this point in the history
The OutputWorkspace of ReactorSANSResolution is now no longer used,
the correction is done to the input workspace.
  • Loading branch information
martyngigg committed Dec 19, 2012
1 parent f221acb commit ed10636
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Code/Mantid/Framework/PythonAPI/test/SANSWorkflowTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ def test_reactor_sans_resolution_diff_output(self):
alt_ws = "_test_alt_output"
ReactorSANSResolution(InputWorkspace=self.test_ws, OutputWorkspace=alt_ws)

self.assertAlmostEqual(mantid[alt_ws].dataDx(0)[0], 0.0052567, 4)
self.assertAlmostEqual(mantid[alt_ws].dataDx(0)[1], 0.0088109, 4)
self.assertAlmostEqual(mantid[alt_ws].dataDx(0)[2], 0.0126872, 4)
self.assertAlmostEqual(mantid[self.test_ws].dataDx(0)[0], 0.0052567, 4)
self.assertAlmostEqual(mantid[self.test_ws].dataDx(0)[1], 0.0088109, 4)
self.assertAlmostEqual(mantid[self.test_ws].dataDx(0)[2], 0.0126872, 4)

if mtd.workspaceExists(self.test_ws):
mtd.deleteWorkspace(self.test_ws)
Expand Down

0 comments on commit ed10636

Please sign in to comment.