Ticket #3613 (closed: fixed)
PythonAlgorithms are not stopping when a C++ exception is thrown from an algorithm run through the simple interface
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | major | Milestone: | Iteration 30 |
Component: | Mantid | Keywords: | |
Cc: | petersonpf@… | Blocked By: | |
Blocking: | Tester: | Peter Parker |
Description
If a PythonAlgorithm runs a C++ algorithm through the simple api and it throws an exception, the PythonAlgorithm continues on its merry way, even though it prints the error message from the exception.
Change History
comment:1 Changed 9 years ago by Martyn Gigg
- Status changed from new to verify
- Resolution set to fixed
comment:2 Changed 9 years ago by Peter Parker
- Status changed from verify to verifying
- Tester set to Peter Parker
comment:3 Changed 9 years ago by Peter Parker
- Status changed from verifying to closed
Created three PythonAlgorithms that used GeneratePythonScript, MergeRuns and RenameWorkspace respectively. When errors were thrown in the child algorithms after incorrect inputs were fed to them, the parent PythonAlgorithm successfully stopped after printing the error to the log.
Passed.
Note: See
TracTickets for help on using
tickets.
In [14198]: