Skip to content
Snippets Groups Projects
Commit 78be41f0 authored by Karl Palmen's avatar Karl Palmen
Browse files

Tidy end off error handling re #20005


Signed-off-by: default avatarKarl Palmen <karl.palmen@stfc.ac.uk>
parent d7e2fbe3
No related branches found
No related tags found
No related merge requests found
......@@ -209,8 +209,8 @@ class FunctionWrapper(object):
raise RuntimeError("startX must be defined if no workspace or xValues are defined.")
if not haveEndX:
raise RuntimeError("endX must be defined if no workspace or xValues are defined.")
print "Can't plot"
return
else:
raise RuntimeError("insufficient plotting arguments") # Should not occur.
outWs = self(spectrumWs)
vals = outWs.readY(1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment