Skip to content

Commit

Permalink
Refs #5421 Correcting comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Jackson committed Oct 8, 2013
1 parent b5a8d35 commit 970de4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/scripts/Inelastic/IndirectBayes.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ def ReadNormFile(resnorm,nsam,resnormWS,Verbose): # get norm & scale
if Verbose:
logger.notice('ResNorm file is ' + resnormWS)
dtnorm = mtd[resnormWS+'_Intensity'].readY(0)
nrm = len(dtnorm) # no. points from length of x array
nrm = len(dtnorm) # no. points from length of y array
if nrm == 0:
error = 'ResNorm file has no Intensity points'
logger.notice('ERROR *** ' + error)
sys.exit(error)
xscale = mtd[resnormWS+'_Stretch'].readY(0) # no. points from length of x array
xscale = mtd[resnormWS+'_Stretch'].readY(0) # no. points from length of y array
if len(xscale) == 0:
error = 'ResNorm file has no Stretch points'
logger.notice('ERROR *** ' + error)
Expand Down

0 comments on commit 970de4c

Please sign in to comment.