Skip to content

Commit

Permalink
Refs #8344 Update diagnostics plotting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Jackson committed Nov 29, 2013
1 parent 50d6899 commit f95d47a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Code/Mantid/scripts/Inelastic/IndirectEnergyConversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,11 @@ def slice(inputfiles, calib, xRange, spec, suffix, Save=False, Verbose=True, Plo
DeleteWorkspace(Workspace=calibWsName)

if Plot:
graph = mp.plotBin(outWSlist, 0)
try:
graph = mp.plotSpectrum(sfile, 0)
except RuntimeError, e:
#User clicked cancel on plot so don't do anything
pass

EndTime('Slice')

Expand Down

0 comments on commit f95d47a

Please sign in to comment.