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/checkers.py | |
parent | 7576c2e21282c657e42617dc1dcef93273441ed2 (diff) | |
download | fg21sim-a8c2a75f4023d5243707f081a2c98f42f8a92cb0.tar.bz2 |
configs: Update option descriptions; also tweak checkers a bit
Diffstat (limited to 'fg21sim/configs/checkers.py')
-rw-r--r-- | fg21sim/configs/checkers.py | 8 |
1 files changed, 2 insertions, 6 deletions
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 |