diff options
author | Aaron LI <aly@aaronly.me> | 2018-01-02 14:36:54 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-01-02 14:36:54 +0800 |
commit | 779878e46cc84fa48d8a30ea051edbaf99835122 (patch) | |
tree | 66be04659345e7bf9aa26494c2973048aff71527 /fg21sim/extragalactic/clusters | |
parent | 0925da524aa56d4141c3ba9605ba9e2944e4cda8 (diff) | |
download | fg21sim-779878e46cc84fa48d8a30ea051edbaf99835122.tar.bz2 |
clusters: skip dropping out halos when using dumped data
Diffstat (limited to 'fg21sim/extragalactic/clusters')
-rw-r--r-- | fg21sim/extragalactic/clusters/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py index d18faf0..92bd722 100644 --- a/fg21sim/extragalactic/clusters/main.py +++ b/fg21sim/extragalactic/clusters/main.py @@ -352,7 +352,7 @@ class GalaxyClusters: Drop out the specified number of most powerful radio halos from the catalog, in order to obtain a more stable simulation. """ - if self.halo_dropout <= 0: + if (self.halo_dropout <= 0) or self.use_dump_halos_data: logger.info("No need to drop out halos.") return |