diff options
author | Aaron LI <aly@aaronly.me> | 2019-02-27 22:00:44 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-02-27 23:57:12 +0800 |
commit | eddca6e37e3d8079a4f2bf4653588dd98f789f37 (patch) | |
tree | 919e743258c2c19878e1a2857052a3fd8fe08502 /fg21sim/extragalactic | |
parent | 963f6f4015c856f2f695f3634b47ed903ade5adf (diff) | |
download | fg21sim-eddca6e37e3d8079a4f2bf4653588dd98f789f37.tar.bz2 |
Several minor cleanups
Diffstat (limited to 'fg21sim/extragalactic')
-rw-r--r-- | fg21sim/extragalactic/clusters/main.py | 4 |
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): |