Skip to content
Snippets Groups Projects
Unverified Commit 36a60ddf authored by Martyn Gigg's avatar Martyn Gigg Committed by GitHub
Browse files

Merge pull request #22848 from mantidproject/in16_reduction_relax_error

IN16B QENS: relax too strict error
parents 1b98e8e0 cbef25ae
No related branches found
No related tags found
No related merge requests found
...@@ -271,7 +271,7 @@ class IndirectILLReductionQENS(PythonAlgorithm): ...@@ -271,7 +271,7 @@ class IndirectILLReductionQENS(PythonAlgorithm):
for item in mtd[tmp_int]: for item in mtd[tmp_int]:
for index in range(item.getNumberHistograms()): for index in range(item.getNumberHistograms()):
if item.readY(index)[0] <= 0: if item.readY(index)[0] <= 0:
raise RuntimeError('Negative or 0 integral in spectrum #{0} {1}'.format(index,message)) self.log().warning('Negative or 0 integral in spectrum #{0} {1}'.format(index,message))
DeleteWorkspace(tmp_int) DeleteWorkspace(tmp_int)
......
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