aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/configs')
-rw-r--r--fg21sim/configs/10-galactic.conf.spec6
-rw-r--r--fg21sim/configs/20-extragalactic.conf.spec4
-rw-r--r--fg21sim/configs/checkers.py12
3 files changed, 4 insertions, 18 deletions
diff --git a/fg21sim/configs/10-galactic.conf.spec b/fg21sim/configs/10-galactic.conf.spec
index 116586f..8d3ee77 100644
--- a/fg21sim/configs/10-galactic.conf.spec
+++ b/fg21sim/configs/10-galactic.conf.spec
@@ -45,8 +45,6 @@
# Filename prefix for this component
prefix = string(default="gsync")
- # Whether save this component to disk
- save = boolean(default=True)
# Output directory to save the simulated results
output_dir = string(default=None)
@@ -81,8 +79,6 @@
# Filename prefix for this component
prefix = string(default="gfree")
- # Whether save this component to disk
- save = boolean(default=True)
# Output directory to save the simulated results
output_dir = string(default=None)
@@ -100,7 +96,5 @@
# Filename prefix for this component
prefix = string(default="gsnr")
- # Whether save this component to disk
- save = boolean(default=True)
# Output directory to save the simulated results
output_dir = string(default=None)
diff --git a/fg21sim/configs/20-extragalactic.conf.spec b/fg21sim/configs/20-extragalactic.conf.spec
index c3e27bc..4ed01ee 100644
--- a/fg21sim/configs/20-extragalactic.conf.spec
+++ b/fg21sim/configs/20-extragalactic.conf.spec
@@ -65,8 +65,6 @@
# Filename prefix for this component
prefix = string(default="cluster")
- # Whether save this component to disk
- save = boolean(default=True)
# Output directory to save the simulated results
output_dir = string(default=None)
@@ -106,8 +104,6 @@
# Extragalactic point sources
[[pointsources]]
- # Whether save this point source catelogue to disk
- save = boolean(default=True)
# Output directory to save the simulated catalog
output_dir = string(default="PS_tables")
# PS components to be simulated
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