diff options
Diffstat (limited to 'fg21sim')
-rw-r--r-- | fg21sim/extragalactic/clusters/main.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py index e838094..f16a203 100644 --- a/fg21sim/extragalactic/clusters/main.py +++ b/fg21sim/extragalactic/clusters/main.py @@ -93,6 +93,11 @@ class GalaxyClusters: self.clobber = self.configs.getn("output/clobber") logger.info("Loaded and set up configurations") + if self.use_dump_halos_data and (not self.use_output_catalog): + self.use_output_catalog = True + logger.warning("Forced to use existing cluster catalog, " + "due to 'use_dump_halos_data=True'") + def _simulate_catalog(self): """ Simulate the (z, mass) catalog of the cluster distribution |