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

Allow configuration options to be read in from and written to file #1

Open
jimc101 opened this issue Jun 14, 2024 · 0 comments
Open

Comments

@jimc101
Copy link
Member

jimc101 commented Jun 14, 2024

Options for ecoval are passed in as optional keyword arguments. If the option isn't passed in, ecoval will (in many cases) select a default value. Run time options are not recorded (I think), meaning there is no way of checking which options were used for a given analysis.

It would be useful to have ecoval read in run arguments from a file, as well as passing them in as arguments should a user want to. Further, it would be useful to have ecoval write out all of its run time options to a file which is saved with the output. This includes default values - i.e., those that weren't specified by the user. configparser would allow you to do both of these things.

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

No branches or pull requests

1 participant