Skip to content

Commit a093498

Browse files
committed
Edit docs
1 parent 3d4eb11 commit a093498

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The easiest way to get started is to drop a folder (typically a folder from with
4545

4646
- `2` and `3`, to easily switch between labeling and selection mode
4747
- `4`, to enable pan & zoom (which is achieved using the mouse wheel or finger scrolling on the Trackpad)
48-
- `M`, to cycle through regular (sequential), quick, and cycle annotation mode (see the description [here](https://github.com/DeepLabCut/DeepLabCut-label/blob/ee71b0e15018228c98db3b88769e8a8f4e2c0454/dlclabel/layers.py#L9-L19))
48+
- `M`, to cycle through regular (sequential), quick, and cycle annotation mode (see the description [here](https://github.com/DeepLabCut/napari-deeplabcut/blob/5a5709dd38868341568d66eab548ae8abf37cd63/src/napari_deeplabcut/keypoints.py#L25-L34))
4949
- `E`, to enable edge coloring (by default, if using this in refinement GUI mode, points with a confidence lower than 0.6 are marked
5050
in red)
5151
- `F`, to toggle between animal and body part color scheme.

src/napari_deeplabcut/keypoints.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ class LabelMode(CycleEnum):
3131
annotated point actually moves it to the cursor location.
3232
LOOP: the first point is placed frame by frame, then it wraps
3333
to the next label at the end and restart from frame 1, etc.
34+
Unless the keypoint selection is locked, the dropdown menu is
35+
automatically set to the first unlabeled keypoint of
36+
the current frame.
3437
"""
3538

3639
SEQUENTIAL = auto()
@@ -49,7 +52,10 @@ def default(cls):
4952
"QUICK": "Similar to SEQUENTIAL, but trying to add an already\n"
5053
"annotated point actually moves it to the cursor location.",
5154
"LOOP": "The first point is placed frame by frame, then it wraps\n"
52-
"to the next label at the end and restart from frame 1, etc.",
55+
"to the next label at the end and restart from frame 1, etc.\n"
56+
"Unless the keypoint selection is locked, the dropdown menu is\n"
57+
"automatically set to the first unlabeled keypoint of\n"
58+
"the current frame.",
5359
}
5460

5561

0 commit comments

Comments
 (0)