diff options
author | Aaron LI <aly@aaronly.me> | 2017-09-03 15:01:14 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-09-03 15:01:14 +0800 |
commit | 007c6c667e2a4bd21bee9bdeeb187a73d3a41db9 (patch) | |
tree | 709d7d885f4fd5e25e9951f9a5c97bf8746753bb /fg21sim/configs/checkers.py | |
parent | a8c2a75f4023d5243707f081a2c98f42f8a92cb0 (diff) | |
download | fg21sim-007c6c667e2a4bd21bee9bdeeb187a73d3a41db9.tar.bz2 |
clusters: Add option "use_output_catalog" to continue halo simulation
Diffstat (limited to 'fg21sim/configs/checkers.py')
-rw-r--r-- | fg21sim/configs/checkers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fg21sim/configs/checkers.py b/fg21sim/configs/checkers.py index 3985e46..5316eac 100644 --- a/fg21sim/configs/checkers.py +++ b/fg21sim/configs/checkers.py @@ -157,6 +157,9 @@ def check_extragalactic_clusters(configs): if comp in comp_enabled: # Only validate the configs if this component is enabled results.update(_check_existence(configs, comp+"/ps_data")) + # catalog required when enabled to use it + if configs.get(comp+"/use_output_catalog"): + results.update(_check_existence(configs, comp+"/catalog_outfile")) results.update(_check_missing(configs, comp+"/output_dir")) return results |