Commit e38cd073 authored by Médéric Boquien's avatar Médéric Boquien

Add the number of models per redshift to pcigale check.

parent 2169d2e3
Pipeline #2919 skipped with stage
......@@ -4,6 +4,7 @@
### Added
- The polar dust model of X-CIGALE (Yang et al., 2020) for the `skirtor2016` module has been integrated into the regular version. (Médéric Boquien, based on the initial work of Guang Yang)
- An additional check is done when constructing the `pcigale.ini` and `pcigale.ini.spec` files to avoid the generation of an incorrect `pcigale.ini.spec` when `pcigale.ini` exists but `pcigale.ini.spec` does not, which is not supposed to happen under regular circumstances. (Médéric Boquien)
- Now `pcigale check` also displays the number of models per redshift. (Médéric Boquien)
### Changed
### Fixed
- Ensure that `pcigale-plots` correctly detects the `skirtor2016` AGN models. (Médéric Boquien, reported by Guang Yang)
......@@ -46,8 +46,9 @@ def check(config):
configuration = config.configuration
if configuration:
pm = ParametersManager(configuration)
print(f"With this configuration cigale will compute "
f"{ParametersManager(configuration).size} models.")
f"{pm.size} models ({pm.size // pm.shape[-1]} per redshift).")
def run(config):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment