aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-01-05 22:43:49 +0800
committerAaron LI <aly@aaronly.me>2018-01-05 22:43:49 +0800
commit93cacdb1f4c77052a52fed97d04f0504cc1ca1f5 (patch)
tree15fab53762a27f2cb75fcacc0a8b95d9f1f4de46 /fg21sim/extragalactic/clusters
parent36610bafadfc60f49799e5d22a7999e9e5e0ebef (diff)
downloadfg21sim-93cacdb1f4c77052a52fed97d04f0504cc1ca1f5.tar.bz2
clusters: fix string formatting in _simulate_halos()
Diffstat (limited to 'fg21sim/extragalactic/clusters')
-rw-r--r--fg21sim/extragalactic/clusters/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py
index 688f19e..68291eb 100644
--- a/fg21sim/extragalactic/clusters/main.py
+++ b/fg21sim/extragalactic/clusters/main.py
@@ -257,7 +257,7 @@ class GalaxyClusters:
z1 = cdict["merger_z"][merger_num-1]
info = ("[%d/%d] " % (ii, num) +
"M(%.2e)@z(%.3f) -> M(%.2e)@z(%.3f) with %d merger(s)" %
- (ii, num, M1, z1, M_obs, z_obs, merger_num))
+ (M1, z1, M_obs, z_obs, merger_num))
logger.info(info)
halo = RadioHaloAM(M_obs=M_obs, z_obs=z_obs,
M_main=cdict["merger_mass1"],