Skip to content

Commit

Permalink
Refs #4531 - Fix so that we actually compute the average when asked.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterParker committed Jan 24, 2012
1 parent a026002 commit e023164
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ def execute(self, reducer, file_ws):
tempName = wsName + '_temp_sum'
SumSpectra(InputWorkspace=wsName, OutputWorkspace=tempName)

if (summary == 'average'):
if (summary == 'Average'):
tempWs = mtd[tempName]
tempWs /= nSpec
# Note: Detector info of the output becomes spurious as there will be a third entry for a detector
Expand Down

0 comments on commit e023164

Please sign in to comment.