\(\renewcommand\AA{\unicode{x212B}}\)

WorkspaceHistory

This is a Python binding to the C++ class Mantid::API::WorkspaceHistory.

class mantid.api.WorkspaceHistory
empty((WorkspaceHistory)self) bool :

Returns whether the history has any entries

getAlgorithm((WorkspaceHistory)self, (int)index) IAlgorithm :

Returns the algorithm at the given index in the history

getAlgorithmHistories((WorkspaceHistory)self) list :

Returns a list of algorithm histories for this workspace history.

getAlgorithmHistory((WorkspaceHistory)self, (int)index) AlgorithmHistory :

Returns the algorithm history at the given index in the history

lastAlgorithm((WorkspaceHistory)self) IAlgorithm :

Returns the last algorithm run on this workspace so that its properties can be accessed

size((WorkspaceHistory)self) int :

Returns the number of algorithms in the immediate history