simpeg.directives.SaveEveryIteration.validate#
- SaveEveryIteration.validate(directiveList=None)[source]#
Validate directive.
The validate method returns
Trueif the directive and its location within the directives list does not encounter conflicts. Otherwise, an appropriate error message is returned describing the conflict.- Parameters:
- directive_list
simpeg.directives.DirectiveList List of directives used in the inversion.
- directive_list
- Returns:
- bool
Returns
Trueif validated, otherwise an approriate error is returned.