From a8c2a75f4023d5243707f081a2c98f42f8a92cb0 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 3 Sep 2017 15:00:24 +0800 Subject: configs: Update option descriptions; also tweak checkers a bit --- fg21sim/configs/20-extragalactic.conf.spec | 11 ++++++++++- fg21sim/configs/checkers.py | 8 ++------ 2 files changed, 12 insertions(+), 7 deletions(-) (limited to 'fg21sim') diff --git a/fg21sim/configs/20-extragalactic.conf.spec b/fg21sim/configs/20-extragalactic.conf.spec index d96f141..f2b0c30 100644 --- a/fg21sim/configs/20-extragalactic.conf.spec +++ b/fg21sim/configs/20-extragalactic.conf.spec @@ -21,9 +21,18 @@ # used by the following ``[[halos]]`` section. [[clusters]] # The Press-Schechter formalism predicted halo distribution densities. + # This data file is in plain text with 3 columns organized like: + # --------------------- + # z1 mass1 density1 + # z1 mass2 density2 + # z1 .. density3 + # z2 mass1 density4 + # z2 mass2 density5 + # z2 .. density6 ps_data = string(default=None) - # Output the effective/inuse clusters catalog data (CSV file) + # Output CSV file of the clusters catalog containing the simulated + # mass, redshift, position, shape, and the recent major merger info. catalog_outfile = string(default=None) # Output file for dumping the simulated cluster halos data in Python diff --git a/fg21sim/configs/checkers.py b/fg21sim/configs/checkers.py index 8abdaaf..3985e46 100644 --- a/fg21sim/configs/checkers.py +++ b/fg21sim/configs/checkers.py @@ -142,9 +142,7 @@ def check_galactic_snr(configs): results = {} if comp in comp_enabled: # Only validate the configs if this component is enabled - results.update( - _check_existence(configs, comp+"/catalog") - ) + results.update(_check_existence(configs, comp+"/catalog")) results.update(_check_missing(configs, comp+"/output_dir")) return results @@ -158,9 +156,7 @@ def check_extragalactic_clusters(configs): results = {} if comp in comp_enabled: # Only validate the configs if this component is enabled - results.update( - _check_existence(configs, comp+"/ps_data") - ) + results.update(_check_existence(configs, comp+"/ps_data")) results.update(_check_missing(configs, comp+"/output_dir")) return results -- cgit v1.2.2