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.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