aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/formation.py
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/extragalactic/clusters/formation.py')
-rw-r--r--fg21sim/extragalactic/clusters/formation.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/fg21sim/extragalactic/clusters/formation.py b/fg21sim/extragalactic/clusters/formation.py
index dc41e00..f92c868 100644
--- a/fg21sim/extragalactic/clusters/formation.py
+++ b/fg21sim/extragalactic/clusters/formation.py
@@ -186,8 +186,9 @@ class ClusterFormation:
References: Ref.[randall2002],Sec.(3.1)
"""
logger.debug("Simulating cluster formation: " +
- "M0={:.3g}[Msun] from z={:.3f} to z={zmax} ...".format(
- self.M0, self.z0, zmax=self.zmax))
+ "M0=%.3e[Msun] " % self.M0 +
+ "from z={:.3f} back to z={zmax} ...".format(
+ self.z0, zmax=self.zmax))
self.main_only = main_only
if main_only:
logger.debug("Only trace the formation of the *main* cluster ...")
@@ -195,7 +196,7 @@ class ClusterFormation:
else:
logger.debug("Trace formations of both main and sub cluster ...")
self.mtree = self._trace_formation(self.M0, _z=self.z0)
- logger.debug("Simulated cluster formation with merger tree")
+ logger.debug("Simulated cluster formation with merger tree.")
return self.mtree
@property