aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fg21sim/extragalactic/clusters/mergertree.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/fg21sim/extragalactic/clusters/mergertree.py b/fg21sim/extragalactic/clusters/mergertree.py
index abda0d4..609dbee 100644
--- a/fg21sim/extragalactic/clusters/mergertree.py
+++ b/fg21sim/extragalactic/clusters/mergertree.py
@@ -114,17 +114,17 @@ def show_mtree(mtree):
info = "%2d: " % i
z = main["z"]
age = main["age"]
- info += "<z=%.3f/t=%05.2f> " % (z, age)
+ info += "<z=%.3f; t=%5.2f> " % (z, age)
mass = main["mass"]
if sub:
# merger event
Msub = sub["mass"]
Rmass = mass / Msub
- info += "[%.3e @@@ %.3e] (Rm=%04.1f)" % (mass, Msub, Rmass)
+ info += "[%.3e @@@ %.3e] (Rm=%5.1f)" % (mass, Msub, Rmass)
elif parent:
# accretion event
dM = parent["mass"] - mass
- info += " %.3e + %.3e " % (mass, dM)
+ info += " %.3e + %.3e " % (mass, dM)
else:
# root cluster
info += " %.3e" % mass