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

Fix issue with setting config via CLI #1482

Merged
merged 1 commit into from
Jul 8, 2024
Merged

Fix issue with setting config via CLI #1482

merged 1 commit into from
Jul 8, 2024

Conversation

dehall
Copy link
Contributor

@dehall dehall commented Jul 8, 2024

This addresses an issue where certain config settings, ie exporter.years_of_history don't work when set via the command line args.
I think we've seen a few times and have put fixes on various branches: d10d07e , d0e4371#diff-a6b8b70e408cd3e34b8db02476445bfd607cad475dd9e80a5b62bc82c583b3b2

This is still a bandage though and we'll probably run into this again, but it should work as a quick fix. The longer andmore permanent fix would be to keep separate variables for the things the cli args can set, and only instantiate the 2 Options objects after all args have been parsed.

Fixes #1476

@jawalonoski jawalonoski merged commit 27e32d4 into master Jul 8, 2024
4 checks passed
@jawalonoski jawalonoski deleted the fix_config_cli branch July 8, 2024 20:44
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

Successfully merging this pull request may close these issues.

Not All Observations Being Exported to CSV
2 participants