Skip to content

Commit

Permalink
Fix a bug in testmode re #6344
Browse files Browse the repository at this point in the history
Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>
  • Loading branch information
KarlPalmen committed Feb 11, 2013
1 parent 43229cb commit e39d22e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/scripts/Calibration/tube_calib.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ def correctTubeToIdealTube( tubePoints, idealTubePoints, nDets, TestMode=False )
if( TestMode ):
print "TestMode code"
for i in range( len(usedTubePoints) ):
#print "used point",i,"shoving pixel",int(usedTubePoints[i]+0.5)
xResult[ int(usedTubePoints[i]+0.5) ] = xResult[0]
#print "used point",i,"shoving pixel",int(usedTubePoints[i])
xResult[ int(usedTubePoints[i]) ] = xResult[0]

# print xResult
return xResult
Expand Down

0 comments on commit e39d22e

Please sign in to comment.