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

[MNT] - Fix management of check modes #293

Merged
merged 17 commits into from
Jul 25, 2023
Merged

[MNT] - Fix management of check modes #293

merged 17 commits into from
Jul 25, 2023

Conversation

TomDonoghue
Copy link
Member

@TomDonoghue TomDonoghue commented Jul 22, 2023

Addresses #292 - updates process for managing check modes, and updates extracting of sub-objects to propagate modes

This also integrates updates from @SM-Figueroa, merged in #294, which updated some element of run mode management, including adding the set_run_modes method. I also updated something that @SM-Figueroa explored but didn't add directly, which is using the FOOOFRunModes object (it didn't initially work due to NamedTuples not accepting leading underscores, but the object itself doesn't need the underscores, it can be used without them, which is how I added it.

@mwprestonjr - for wtv reason I can't seem to tag you in for a proper review - but does this look good for addressing what you brought up in #292

@fooof-tools fooof-tools deleted a comment from codecov-commenter Jul 22, 2023
@TomDonoghue TomDonoghue mentioned this pull request Jul 22, 2023
@TomDonoghue TomDonoghue added the 1.1 Targetted for a fooof 1.1 release. label Jul 22, 2023
Create setters/getters for check modes and fix management
@fooof-tools fooof-tools deleted a comment from codecov-commenter Jul 23, 2023
@fooof-tools fooof-tools deleted a comment from codecov-commenter Jul 23, 2023
@fooof-tools fooof-tools deleted a comment from codecov-commenter Jul 24, 2023
Copy link
Contributor

@ryanhammonds ryanhammonds 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! I left a couple optional/minor comments

fooof/objs/fit.py Show resolved Hide resolved
fooof/objs/fit.py Show resolved Hide resolved
[MNT] - Update parameter Stepper object
@fooof-tools fooof-tools deleted a comment from codecov-commenter Jul 25, 2023
@TomDonoghue
Copy link
Member Author

I'm going to merge this in now, to consolidate 1.1 to main and merge that forward to 2.0 - but if anyone has any further comments on this feel free to comment and we can follow up!

@TomDonoghue TomDonoghue merged commit 312fed7 into main Jul 25, 2023
6 checks passed
@TomDonoghue TomDonoghue deleted the checkmodes branch July 25, 2023 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.1 Targetted for a fooof 1.1 release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants