From a6d77ebcbc55a2f79007bc011f0a3679191f2e42 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 28 Feb 2019 19:48:13 +0800 Subject: clusters/main: Fix a variable typo --- fg21sim/extragalactic/clusters/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py index 201ceed..e57950c 100644 --- a/fg21sim/extragalactic/clusters/main.py +++ b/fg21sim/extragalactic/clusters/main.py @@ -454,7 +454,7 @@ class GalaxyClusters: The templates are normalized to have *mean* value of 1. """ idx_kept = [idx for idx, hdict in enumerate(self.halos) - if hdit["genuine"] and not hdict.get("drop", False)] + if hdict["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): -- cgit v1.2.2