aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-02-27 22:00:44 +0800
committerAaron LI <aly@aaronly.me>2019-02-27 23:57:12 +0800
commiteddca6e37e3d8079a4f2bf4653588dd98f789f37 (patch)
tree919e743258c2c19878e1a2857052a3fd8fe08502 /fg21sim/extragalactic
parent963f6f4015c856f2f695f3634b47ed903ade5adf (diff)
downloadfg21sim-eddca6e37e3d8079a4f2bf4653588dd98f789f37.tar.bz2
Several minor cleanups
Diffstat (limited to 'fg21sim/extragalactic')
-rw-r--r--fg21sim/extragalactic/clusters/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py
index cfeaf80..201ceed 100644
--- a/fg21sim/extragalactic/clusters/main.py
+++ b/fg21sim/extragalactic/clusters/main.py
@@ -453,8 +453,8 @@ class GalaxyClusters:
the corresponding halo within the ``self.halos``.
The templates are normalized to have *mean* value of 1.
"""
- idx_kept = [idx for idx, cdict in enumerate(self.halos)
- if cdit["genuine"] and not cdict.get("drop", False)]
+ idx_kept = [idx for idx, hdict in enumerate(self.halos)
+ if hdit["genuine"] and not hdict.get("drop", False)]
num = len(idx_kept)
logger.info("Draw template images for %d halos ..." % num)
for i, idx in enumerate(idx_kept):