aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs/checkers.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-05-22 22:37:34 +0800
committerAaron LI <aaronly.me@outlook.com>2017-05-22 22:37:34 +0800
commit2303c0b55499fc029519c58fff5a5c83b35143f3 (patch)
tree7d6d6fd9cddb827a5b0a7f95b8e6ea6a068878a4 /fg21sim/configs/checkers.py
parent4e256a599d1faec7cfcfe439423b7bc18105b26e (diff)
downloadfg21sim-2303c0b55499fc029519c58fff5a5c83b35143f3.tar.bz2
galactic/snr: Update to support the sky.py
Also fix a typo in configs/checkers.py
Diffstat (limited to 'fg21sim/configs/checkers.py')
-rw-r--r--fg21sim/configs/checkers.py2
1 files changed, 1 insertions, 1 deletions
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