From 007c6c667e2a4bd21bee9bdeeb187a73d3a41db9 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 3 Sep 2017 15:01:14 +0800 Subject: clusters: Add option "use_output_catalog" to continue halo simulation --- fg21sim/configs/checkers.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fg21sim/configs/checkers.py') 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 -- cgit v1.2.2