aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs/checkers.py
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/configs/checkers.py')
-rw-r--r--fg21sim/configs/checkers.py3
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