Skip to content

MRG: Disable CoregistrationUI widgets while fitting - #10283

Merged
hoechenberger merged 1 commit into
mne-tools:mainfrom
GuillaumeFavelier:fix/coreg_3
Feb 1, 2022
Merged

hoechenberger merged 1 commit into
mne-tools:mainfrom
GuillaumeFavelier:fix/coreg_3

Conversation

@GuillaumeFavelier

Copy link
Copy Markdown
Contributor

This PR disables widgets while fitting (for now fitting and parameter buttons but ultimately we want to disable the whole interface).

cc @hoechenberger

@GuillaumeFavelier GuillaumeFavelier self-assigned this Feb 1, 2022

@hoechenberger hoechenberger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Awesome, let's merge when green!

@hoechenberger hoechenberger changed the title FIX: Disable widgets while fitting MRG: Disable CoregistrationUI widgets while fitting Feb 1, 2022
@hoechenberger

hoechenberger commented Feb 1, 2022 •

Copy link
Copy Markdown
Member

Background info: We don't want to use to fiddle with the UI (and potentially start another fitting thread!) while a fitting procedure is currently running. So now we're disabling a bunch of widgets for as long as we're fitting.

In the future, we may want to show a modal or something.

@agramfort agramfort left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@hoechenberger merge when green

@hoechenberger
hoechenberger merged commit d694c74 into mne-tools:main Feb 1, 2022
@hoechenberger

Copy link
Copy Markdown
Member

Thanks @GuillaumeFavelier!

@GuillaumeFavelier
GuillaumeFavelier deleted the fix/coreg_3 branch February 1, 2022 18:21
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