schrodinger.utils.sea.evalor module¶
Module for parameter validation. See schrodinger.utils.sea for more details.
Copyright Schrodinger, LLC. All rights reserved.
-
class
schrodinger.utils.sea.evalor.Evalor(map, err_break='\n\n')[source]¶ Bases:
objectThis is the evaluator class for checking validity of parameters.
-
__init__(map, err_break='\n\n')[source]¶ - Parameters
map – ‘map’ contains all parameters to be checked.
-
property
err¶
-
record_error(mapname=None, err='')[source]¶ Records the error.
- Parameters
mapname – The name of the checked parameter.
err – The error message.
-
property
unchecked_map¶ Returns a string that tell which parameters have not been checked.
-
-
schrodinger.utils.sea.evalor.check_map(map, valid, ev, tag={})[source]¶ Checks the validity of a map.