Ticket #8968 (closed: duplicate)

Opened 7 years ago

Last modified 5 years ago

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

comment:1 Changed 7 years ago by Nick Draper

  • Status changed from new to closed
  • Resolution set to duplicate
  • Tester set to Nick Draper

superceded by #8971

comment:2 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 9812

Note: See TracTickets for help on using tickets.