- 31 Aug, 2015 1 commit
-
-
Médéric Boquien authored
-
- 29 Aug, 2015 2 commits
-
-
Médéric Boquien authored
Simplify the construction of modules by remove the out_parameter_list dictionary. It was not used anywhere, was not always provided, and was not even up to date.
-
Médéric Boquien authored
Switch back to ordered dictionaries for the input parameters after all. That way the list of parameters is kept into a logical order when building the configuration file. The impact on performance is negligible.
-
- 28 Aug, 2015 1 commit
-
-
Médéric Boquien authored
We rely on OrderedDict to keep the order of the parameters. However given the way the code is structured currently, there is really no reason for this. So let's just switch to the standard dictionary. This has two advantages. First the standard dictionary is much faster than OrderedDict (implemented in C rather than in pure python). Then, standard dictionaries are marshalable, which makes them usable as keys for other dictionaries.
-
- 26 Aug, 2015 1 commit
-
-
Médéric Boquien authored
To verify whether a variable is among the keys of a dictionary there is actually no need to call the keys() function. A dictionary has a __contains__() member which is called when the “in” keyword is used.
-
- 07 Aug, 2015 1 commit
-
-
Médéric Boquien authored
Remove leftover comments from debugging and add the stellar population back in the output parameters.
-
- 31 Jul, 2015 1 commit
-
-
- mbb: modified black body - param: parameterless module to compute some parameters and add them to the information dictionary - sfhcomb_constant and sfhcomb_delayed: two star formation histories
-