diff options
author | Aaron LI <aly@aaronly.me> | 2017-07-21 10:19:18 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-07-21 10:21:00 +0800 |
commit | 7b35db2dc2ebae3ecc97749342ebe5951eb5eaae (patch) | |
tree | 3c9ceb8e6f8faa9b990baadb94b22138c2f83537 /fg21sim/configs/checkers.py | |
parent | 70f6a8b3023aed881bcc3f63f095f5007882bc2b (diff) | |
download | fg21sim-7b35db2dc2ebae3ecc97749342ebe5951eb5eaae.tar.bz2 |
checkers.py: Drop resolution check to avoid circular importing error
Signed-off-by: Aaron LI <aly@aaronly.me>
Diffstat (limited to 'fg21sim/configs/checkers.py')
-rw-r--r-- | fg21sim/configs/checkers.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fg21sim/configs/checkers.py b/fg21sim/configs/checkers.py index 1ba1f61..ffb1e63 100644 --- a/fg21sim/configs/checkers.py +++ b/fg21sim/configs/checkers.py @@ -15,7 +15,6 @@ Therefore, they are very different to the checker functions used in the import os from ..errors import ConfigError -from ..sky import get_sky def _check_missing(configs, keys): @@ -163,12 +162,6 @@ def check_galactic_snr(configs): ) if configs.getn(comp+"/save"): results.update(_check_missing(configs, comp+"/output_dir")) - # simulation resolution should be higher than the output sky map - sky = get_sky(configs) - key = comp + "/resolution" - resolution = configs.getn(key) # [ arcmin ] - if resolution > sky.pixelsize: - results[key] = "resolution should be higher than output map" return results |