aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs/checkers.py
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-08-26 11:17:08 +0800
committerAaron LI <aly@aaronly.me>2017-08-26 11:17:08 +0800
commit2760364f39688437437beb94215e3690ecc1c02a (patch)
treedf8e9b93f63b0511771d8d4ba05051ffca755d94 /fg21sim/configs/checkers.py
parentf6f7ce980797187aed031ae7979be2bf17f82429 (diff)
downloadfg21sim-2760364f39688437437beb94215e3690ecc1c02a.tar.bz2
configs: Remove option "save"; all enabled components will be saved
Diffstat (limited to 'fg21sim/configs/checkers.py')
-rw-r--r--fg21sim/configs/checkers.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/fg21sim/configs/checkers.py b/fg21sim/configs/checkers.py
index 698311d..92751bf 100644
--- a/fg21sim/configs/checkers.py
+++ b/fg21sim/configs/checkers.py
@@ -118,8 +118,7 @@ def check_galactic_synchrotron(configs):
results[key] = "not greater than 'lmin'"
else:
results.update(res)
- if configs.getn(comp+"/save"):
- results.update(_check_missing(configs, comp+"/output_dir"))
+ results.update(_check_missing(configs, comp+"/output_dir"))
return results
@@ -137,8 +136,7 @@ def check_galactic_freefree(configs):
results.update(
_check_existence(configs, [comp+"/halphamap", comp+"/dustmap"])
)
- if configs.getn(comp+"/save"):
- results.update(_check_missing(configs, comp+"/output_dir"))
+ results.update(_check_missing(configs, comp+"/output_dir"))
return results
@@ -152,8 +150,7 @@ def check_galactic_snr(configs):
results.update(
_check_existence(configs, comp+"/catalog")
)
- if configs.getn(comp+"/save"):
- results.update(_check_missing(configs, comp+"/output_dir"))
+ results.update(_check_missing(configs, comp+"/output_dir"))
return results
@@ -169,8 +166,7 @@ def check_extragalactic_clusters(configs):
results.update(
_check_existence(configs, comp+"/catalog")
)
- if configs.getn(comp+"/save"):
- results.update(_check_missing(configs, comp+"/output_dir"))
+ results.update(_check_missing(configs, comp+"/output_dir"))
return results