Update napari plugin activation in launch_napari#3181
Merged
MMathisLab merged 1 commit intoDeepLabCut:mainfrom Jan 17, 2026
Merged
Update napari plugin activation in launch_napari#3181MMathisLab merged 1 commit intoDeepLabCut:mainfrom
MMathisLab merged 1 commit intoDeepLabCut:mainfrom
Conversation
Replaces the menu action trigger for activating the 'napari-deeplabcut' plugin with a direct call to add the 'Keypoint controls' dock widget. Safer and required to use new plugin code from DeepLabCut/napari-deeplabcut#153
Collaborator
Author
|
@deruyter92 Do we have a napari-dlc label ? For PRs/issues |
deruyter92
approved these changes
Jan 14, 2026
Collaborator
deruyter92
left a comment
There was a problem hiding this comment.
Good idea to replace this. Tested it and works well for me!
Collaborator
Author
|
@MMathisLab Thanks for the labeling ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the menu action trigger for activating the 'napari-deeplabcut' plugin with a direct, safer call to add the 'Keypoint controls' dock widget.
This pull request updates how the
napari-deeplabcutplugin is activated when launching Napari from thelaunch_naparifunction. Instead of searching for and triggering the plugin via the plugins menu actions, the code now directly adds the plugin's dock widget to the Napari window.NOTE
Plugin activation improvement:
launch_napariwithindeeplabcut/gui/widgets.pyto directly add thenapari-deeplabcutdock widget usingadd_plugin_dock_widget, making the process more straightforward and reliable.