\(\renewcommand\AA{\unicode{x212B}}\)
WorkspaceUnitValidator
This is a Python binding to the C++ class Mantid::API::WorkspaceUnitValidator.
bases: mantid.api.MatrixWorkspaceValidator
-
class
mantid.api.
WorkspaceUnitValidator
-
isValid
((MatrixWorkspaceValidator)self, (MatrixWorkspace)value) → str :
Returns an empty string if the value is considered valid, otherwise a string defining the error is returned.