diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-04 11:12:51 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-04 11:12:51 +0800 |
commit | e1c1340629f3917a4872d4c28b7c3488ab7f5142 (patch) | |
tree | 3fdf4c7aaa028d9f8a7cc38b5c43f54084a8172a /fg21sim/extragalactic/pointsources/fr1.py | |
parent | b7d12ee08b4bc6362cb2682475b28c8ffc04ce5c (diff) | |
download | fg21sim-e1c1340629f3917a4872d4c28b7c3488ab7f5142.tar.bz2 |
configs: Rename "validate.py" and update "validate_configs()"
* 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.
Diffstat (limited to 'fg21sim/extragalactic/pointsources/fr1.py')
0 files changed, 0 insertions, 0 deletions