From 2303c0b55499fc029519c58fff5a5c83b35143f3 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 22 May 2017 22:37:34 +0800 Subject: galactic/snr: Update to support the sky.py Also fix a typo in configs/checkers.py --- fg21sim/configs/checkers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fg21sim/configs') diff --git a/fg21sim/configs/checkers.py b/fg21sim/configs/checkers.py index 2535f9e..1ba1f61 100644 --- a/fg21sim/configs/checkers.py +++ b/fg21sim/configs/checkers.py @@ -167,7 +167,7 @@ def check_galactic_snr(configs): sky = get_sky(configs) key = comp + "/resolution" resolution = configs.getn(key) # [ arcmin ] - if resolution < sky.pixelsize: + if resolution > sky.pixelsize: results[key] = "resolution should be higher than output map" return results -- cgit v1.2.2