aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()