aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-04 11:19:29 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-04 11:19:29 +0800
commita0356d79e15e19b729e943fe22d2c484dbcb2b25 (patch)
tree229478d01f37c676d708d2091b4618e801593bf1
parente1c1340629f3917a4872d4c28b7c3488ab7f5142 (diff)
downloadfg21sim-a0356d79e15e19b729e943fe22d2c484dbcb2b25.tar.bz2
Update to use renamed "check_configs()" instead of "validate_configs()"
-rwxr-xr-xbin/fg21sim4
-rw-r--r--fg21sim/configs/__init__.py2
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()