InstrumentValidator

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

bases: mantid.api.ExperimentInfoValidator

class mantid.api.InstrumentValidator((object)arg1)
__init__((object)arg1) → None :

Checks that the workspace has an instrument defined

isValid((OrientedLatticeValidator)self, (ExperimentInfo)value) → str :

Returns an empty string if the value is considered valid, otherwise a string defining the error is returned.