From a0356d79e15e19b729e943fe22d2c484dbcb2b25 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 4 Nov 2016 11:19:29 +0800 Subject: Update to use renamed "check_configs()" instead of "validate_configs()" --- bin/fg21sim | 4 ++-- fg21sim/configs/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/fg21sim b/bin/fg21sim index 14e3c4f..42bdcca 100755 --- a/bin/fg21sim +++ b/bin/fg21sim @@ -14,7 +14,7 @@ import argparse import logging from fg21sim.foregrounds import Foregrounds -from fg21sim.configs import configs, validate_configs +from fg21sim.configs import configs, check_configs from fg21sim.utils import setup_logging @@ -36,7 +36,7 @@ def main(): if os.environ.get("DEBUG_FG21SIM"): print("DEBUG: Current configurations:", configs._config, sep="\n", file=sys.stderr) - validate_configs(configs) + check_configs(configs) if args.quiet: log_stream = "" diff --git a/fg21sim/configs/__init__.py b/fg21sim/configs/__init__.py index bbfbbd7..306b0d5 100644 --- a/fg21sim/configs/__init__.py +++ b/fg21sim/configs/__init__.py @@ -2,6 +2,6 @@ # MIT license from .manager import ConfigManager -from .validate import validate_configs +from .checkers import check_configs configs = ConfigManager() -- cgit v1.2.2