From 7b35db2dc2ebae3ecc97749342ebe5951eb5eaae Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 21 Jul 2017 10:19:18 +0800 Subject: checkers.py: Drop resolution check to avoid circular importing error Signed-off-by: Aaron LI --- fg21sim/configs/checkers.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'fg21sim/configs/checkers.py') 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 -- cgit v1.2.2