Skip to content

Commit

Permalink
Refs #8913 Fix failing unit python tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Jackson committed Apr 29, 2014
1 parent 2c4811e commit 47cc22e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -26,7 +26,8 @@ def test_minimal(self):

out_ws = CreateTransmissionWorkspaceAuto(FirstTransmissionRun=trans1, AnalysisMode="PointDetectorAnalysis")
history = out_ws.getHistory()
alg = history.lastAlgorithm()
algHist = history.getAlgorithmHistory(history.size()-1)
alg = algHist.getChildAlgorithm(0)

'''
Here we are checking that the applied values (passed to CreateTransmissionWorkspace come from the instrument parameters.
Expand Down
Expand Up @@ -26,7 +26,8 @@ def test_minimal_inputs(self):
out_ws, out_wsl_lam, thetafinal = ReflectometryReductionOneAuto(InputWorkspace=in_ws, AnalysisMode="PointDetectorAnalysis"
,OutputWorkspace="InQ", OutputWorkspaceWavelength="InLam")
history = out_ws.getHistory()
alg = history.lastAlgorithm()
algHist = history.getAlgorithmHistory(history.size()-1)
alg = algHist.getChildAlgorithm(0)

'''
Here we are checking that the applied values (passed to CreateTransmissionWorkspace come from the instrument parameters.
Expand Down

0 comments on commit 47cc22e

Please sign in to comment.