Skip to content

Commit

Permalink
Refs #8344 Transpose workspace after processing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Jackson committed Nov 26, 2013
1 parent d88248b commit 50d6899
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Code/Mantid/scripts/Inelastic/IndirectEnergyConversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ def slice(inputfiles, calib, xRange, spec, suffix, Save=False, Verbose=True, Plo
sliceProcessCalib(rawFile, calibWsName, spec)

sfile = sliceProcessRawFile(rawFile, calibWsName, useCalib, xRange, useTwoRanges, spec, suffix, Verbose)
Transpose(InputWorkspace=sfile, OutputWorkspace=sfile)
unit = mtd[sfile].getAxis(0).setUnit("Label")
unit.setLabel("Spectrum Number", "")

outWSlist.append(sfile)
DeleteWorkspace(rawFile)
Expand Down

0 comments on commit 50d6899

Please sign in to comment.