Ticket #8968 (closed: duplicate)
Expose (I)Algorithm::cancel() to python
Reported by: | Russell Taylor | Owned by: | Russell Taylor |
---|---|---|---|
Priority: | major | Milestone: | Release 3.2 |
Component: | Python | Keywords: | LiveData |
Cc: | rgmiller@… | Blocked By: | |
Blocking: | Tester: | Nick Draper |
Description
A requirement has arisen to be able to stop an ongoing MonitorLiveData algorithm from within a python package/script (that is using Mantid as an imported package). The algorithm instance is returned by StartLiveData, so we just need to be able to call cancel() on it.
Outside this use case, the method will generally be useless - simpleapi algorithms do not return until they have completed, plus cancel is a no-op if the algorithm is running, plus you get back an AlgorithmProxy anyway.
Change History
Note: See
TracTickets for help on using
tickets.
superceded by #8971