aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/extragalactic/clusters')
-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):