fixes to label_frames, addition of docstring by n-poulsen · Pull Request #2858 · DeepLabCut/DeepLabCut

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@n-poulsen

Copy link

Contributor

Improves the deeplabcut.label_frames(...) method:

  • Fixes the call to launch_napari so an image folder is opened correctly.
  • Option to not pass any arguments to the GUI so it just opens and drag-and-drop can be used
  • Add a docstring indicating how the method can be used.

@n-poulsen n-poulsen added enhancement

New feature or request

GUI

issues relating to GUI

labels

Jan 30, 2025
Copy link

Contributor

@maximpavliv maximpavliv left a comment

Choose a reason for hiding this comment

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

Very nice, thanks a lot @n-poulsen !!

@maximpavliv

Copy link

Contributor

I think I found how to make it work in a simple python shell. Please wait a bit before merging, maybe this fix should be added too

@maximpavliv maximpavliv self-requested a review

January 31, 2025 07:18

@maximpavliv

Copy link

Contributor

I think I found how to make it work in a simple python shell. Please wait a bit before merging, maybe this fix should be added too

Let's address this in a future PR

n-poulsen reacted with thumbs up emoji

@n-poulsen n-poulsen merged commit b8653f1 into main

Jan 31, 2025

4 checks passed

@n-poulsen n-poulsen deleted the niels/label_frames branch

January 31, 2025 14:41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@maximpavliv maximpavliv maximpavliv approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

enhancement

New feature or request

GUI

issues relating to GUI

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@n-poulsen @maximpavliv