Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defaults for most/all parameters in configuration #259

Open
jgbarah opened this issue Nov 23, 2018 · 0 comments
Open

Defaults for most/all parameters in configuration #259

jgbarah opened this issue Nov 23, 2018 · 0 comments

Comments

@jgbarah
Copy link
Contributor

jgbarah commented Nov 23, 2018

For most (maybe all) of the parameters specified in a SirMordred configuration file, a default value could be provided, so that the minimum configuration files (if default values are suitable) are much more simple.

There are many ways of implementing this, but one of them could be just having a default configuration file with the default options, and ensuring it is loaded before the user-provided configuration files. This is easy to do, in the loop that loads user-provided config files. I can propose a pull request, if this approach seems reasonable. A side effect of this would be having a complete or semi-complete configuration file with default values, that could be used as an example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant