aboutsummaryrefslogtreecommitdiffstats
path: root/bin/make-ska1low-model
diff options
context:
space:
mode:
Diffstat (limited to 'bin/make-ska1low-model')
-rwxr-xr-xbin/make-ska1low-model5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/make-ska1low-model b/bin/make-ska1low-model
index 641d5a2..8ae69dc 100755
--- a/bin/make-ska1low-model
+++ b/bin/make-ska1low-model
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
+# -*- mode: python -*-
#
# Copyright (c) 2017 Weitian LI <weitian@aaronly.me>
# MIT license
@@ -17,7 +18,7 @@ import logging
from pkg_resources import resource_exists, resource_filename
-from fg21sim.configs import configs
+from fg21sim.configs import CONFIGS
from fg21sim.utils import setup_logging
from fg21sim.uvsim import telescope
@@ -52,7 +53,7 @@ def main():
args = parser.parse_args()
loglevel = "DEBUG" if args.debug else "INFO"
- setup_logging(dict_config=configs.logging, level=loglevel)
+ setup_logging(dict_config=CONFIGS.logging, level=loglevel)
tool = os.path.basename(sys.argv[0])
logger = logging.getLogger(tool)
logger.info("COMMAND: {0}".format(" ".join(sys.argv)))