Skip to content

Add the labeled-data header and row-index vocabulary - #13

Draft
C-Achard wants to merge 3 commits into
cy/io-videofrom
cy/io-labeled-data-vocabulary
Draft

C-Achard wants to merge 3 commits into
cy/io-videofrom
cy/io-labeled-data-vocabulary

Conversation

@C-Achard

Copy link
Copy Markdown
Member

Keypoints, and the classification of DeepLabCut's wide labeled-data header and row index.

  • Classification is lossless: an unrecognised header retains raw columns, duplicated or reordered columns keep their positions, and the header is never expanded from a MultiIndex's levels.
  • Both row-index forms DeepLabCut has written are recognised: path parts (MultiIndex) and flat path strings (older files).

No tests yet: test_header.py and test_row_index.py read files, so they come with the readers later.

- Rename the package to dlccore.io and add the dlccore license header
- Add labeled_data/__init__.py so the package ships in the wheel; it
  re-exports nothing until the readers land
- Reword the header and row-index docstrings
@C-Achard C-Achard added io: labeled-data CollectedData and machinelabels files consumer: deeplabcut Needed by or affects DeepLabCut consumer: napari Needed by or affects napari-deeplabcut backwards compatibility Reading files written by older DeepLabCut labels Nov 24, 2026
@C-Achard C-Achard self-assigned this Nov 24, 2026
@C-Achard
C-Achard added this pull request to stack #18 November 24, 2026 16:24
@C-Achard
C-Achard marked this pull request as draft November 24, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backwards compatibility Reading files written by older DeepLabCut consumer: deeplabcut Needed by or affects DeepLabCut consumer: napari Needed by or affects napari-deeplabcut io: labeled-data CollectedData and machinelabels files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant