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

ENH: Creates a config.yaml file to hold badger's settings #82

Merged
merged 19 commits into from
Oct 23, 2024

Conversation

YektaY
Copy link
Collaborator

@YektaY YektaY commented Jul 15, 2024

Description

This PR creates a config.yaml file to hold badger's settings. it also changed the internal plumbing of the settings. Changing from a design which used global variables paired with QSettings to a design which uses pydantic class which holds the default settings, a config file which badger loads in to replace the default settings and a singleton to hold the settings and pipe it throughout the rest of the application.

How Has This Been Tested?

Unit tests need to be added to make this PR ready for release

Where Has This Been Documented?

Auto documentation has been added to all new methods.
The process will be noted on the website

Screenshots:

@YektaY YektaY marked this pull request as draft July 15, 2024 23:25
YektaY added 3 commits July 15, 2024 23:49
…on for validating and holding the configuaration data. a few bug remain and there are two more features needed for this feature to be complete
@YektaY YektaY changed the title ENH: creates a config.yaml file to hold badger's settings ENH: Creates a config.yaml file to hold badger's settings Aug 16, 2024
@YektaY YektaY marked this pull request as ready for review August 27, 2024 20:54
@roussel-ryan roussel-ryan self-requested a review October 4, 2024 16:05
Copy link
Collaborator

@roussel-ryan roussel-ryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, need to remove some commented out lines if we don't need to

src/badger/tests/test_routine_page.py Outdated Show resolved Hide resolved
@roussel-ryan
Copy link
Collaborator

Also need to resolve merge conflicts

@YektaY
Copy link
Collaborator Author

YektaY commented Oct 4, 2024

I removed the commented out code and fixed the merge conflict. let me know if there is anything else needed on this PR

@wenatuhs wenatuhs self-assigned this Oct 11, 2024
@roussel-ryan roussel-ryan self-requested a review October 21, 2024 16:17
@roussel-ryan
Copy link
Collaborator

@wenatuhs this is ready to go if you don't have any changes needed on your side

@roussel-ryan roussel-ryan merged commit 200ecf8 into xopt-org:main Oct 23, 2024
5 checks passed
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.

3 participants