Skip to content

Commit

Permalink
more pylint polishin, re #12426
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeMPouzols committed Jul 16, 2015
1 parent c205b0b commit 25bf3b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def runTest(self):
# do all calculations from raw data
EnggFocus(InputWorkspace = long_calib_ws,
VanadiumWorkspace = van_ws,
OutputWorkspace = self.out_ws_name,
Bank = '1',
OutVanadiumCurveFits = self.van_bank_curves_name,
OutputWorkspace='out_ws')
Expand Down
6 changes: 3 additions & 3 deletions Code/Mantid/scripts/Engineering/EnggUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def fitBankCurve(parent, vanWS, bank):

outParsPropName = 'OutputParameters'
try:
params = fitAlg.getProperty(outParsPropName).value
fitAlg.getProperty(outParsPropName).value
except RuntimeError:
raise RuntimeError("Could not find the parameters workspace expected in the output property " +
OutParsPropName + " from the algorithm Fit. It seems that this algorithm failed." +
Expand All @@ -506,8 +506,8 @@ def fitBankCurve(parent, vanWS, bank):
raise RuntimeError("Could not find the data workspace expected in the output property " +
outWSPropName + ". " + detailMsg)

mtd['van_ws_dsp'] = vanWS
mtd['fit_ws_dsp'] = fitWS
mtd['engg_van_ws_dsp'] = vanWS
mtd['engg_fit_ws_dsp'] = fitWS

return fitWS

Expand Down

0 comments on commit 25bf3b6

Please sign in to comment.