aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs/validate.py
Commit message (Collapse)AuthorAgeFilesLines
* configs: Rename "validate.py" and update "validate_configs()"Aaron LI2016-11-041-167/+0
| | | | | | | | * Rename "validate.py" to "checkers.py", to avoid the confusion with the "validate" module from "configobj"; * Rename function "validate_configs()" to "check_configs()"; * "check_configs()": add optional parameter "raise_exception"; * "check_configs()": update to return both the result and errors dict.
* configs/validate.py: Add "check_galactic_snr()" for "galactic/snr"Aaron LI2016-10-171-0/+16
|
* configs/validate.py: Check component configs only if enabledAaron LI2016-10-121-22/+26
|
* configs/validate.py: Add checker for [galactic][freefree] configsAaron LI2016-10-121-0/+18
|
* Rewrite configs/validate.py to check whole config without breakAaron LI2016-10-041-23/+52
|
* configs/validate.py: Explain these checkers differ to Validator'sAaron LI2016-10-041-1/+7
| | | | | | NOTE: these checker functions check on the whole configuration, and have no relation to the checker functions of the `Validator` class.
* Add custom configuration checkers.Aaron LI2016-10-031-0/+94
These additional checker functions validate the required configs whether provided by the user config file, as well as against necessary contexts.