diff options
author | Aaron LI <aly@aaronly.me> | 2017-09-03 15:00:24 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-09-03 15:00:24 +0800 |
commit | a8c2a75f4023d5243707f081a2c98f42f8a92cb0 (patch) | |
tree | 701d29c74f517ed5656b658ecf4a59805a8896df /fg21sim/configs | |
parent | 7576c2e21282c657e42617dc1dcef93273441ed2 (diff) | |
download | fg21sim-a8c2a75f4023d5243707f081a2c98f42f8a92cb0.tar.bz2 |
configs: Update option descriptions; also tweak checkers a bit
Diffstat (limited to 'fg21sim/configs')
-rw-r--r-- | fg21sim/configs/20-extragalactic.conf.spec | 11 | ||||
-rw-r--r-- | fg21sim/configs/checkers.py | 8 |
2 files changed, 12 insertions, 7 deletions
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 |