Skip to content

Add the DeepLabCut project layout - #21

Draft
C-Achard wants to merge 3 commits into
cy/project-layout-machineryfrom
cy/project-layout-nodes
Draft

C-Achard wants to merge 3 commits into
cy/project-layout-machineryfrom
cy/project-layout-nodes

Conversation

@C-Achard

@C-Achard C-Achard commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

The DeepLabCut project layout.

  • the project root with config.yaml,
  • videos/ and source videos, and
  • labeled-data/ with one dataset per video holding labeled frames, human labels (CollectedData_* H5 and CSV), machine labels (machinelabels-iter*.h5, machinelabels.csv) and napari-deeplabcut's metadata file.

PROJECT_INDEX indexes every node by schema ID.

  • Video suffixes, labeled-data table suffixes and the CollectedData_ prefix come from dlccore.io.suffixes, so the layout and the readers share one definition. That module imports only the standard library, so the layout loads no reader dependency.
  • Frame suffixes and the machine-label file names are declared in the layout itself.
  • tests/io/test_boundaries.py now also enforces that dlccore.project imports io only through content, the layout only its suffixes, and that CollectedData_ is spelled once, in io.suffixes.

@C-Achard
C-Achard added this pull request to stack #18 November 26, 2026 15:06
@C-Achard C-Achard changed the title cy/project layout nodes Add the DeepLabCut project layout Nov 26, 2026
@C-Achard C-Achard added canonical Changes something consumers rely on: finding codes, snapshot format, written files consumer: datajoint Needed by or affects the DataJoint pipeline consumer: deeplabcut Needed by or affects DeepLabCut consumer: napari Needed by or affects napari-deeplabcut validation Discovery, validation, findings and snapshots and removed consumer: deeplabcut Needed by or affects DeepLabCut consumer: napari Needed by or affects napari-deeplabcut consumer: datajoint Needed by or affects the DataJoint pipeline labels Nov 26, 2026
@C-Achard
C-Achard force-pushed the cy/project-layout-nodes branch from fdd42b1 to bae30b1 Compare November 30, 2026 08:14
@C-Achard
C-Achard force-pushed the cy/project-layout-nodes branch 2 times, most recently from 2259ed0 to 264d26d Compare November 30, 2026 11:07
- Rename the packages to dlccore.project and dlccore.io, and add the
  dlccore license header
- Drop the stale path comments on line 1
- Add the prototype's project-side boundary tests: only content imports io, the layout imports only its suffixes, and CollectedData_ is spelled once, in io.suffixes

- The control that content does import io lands with content
@C-Achard
C-Achard force-pushed the cy/project-layout-nodes branch from 264d26d to bcac88a Compare November 30, 2026 15:10
@C-Achard
C-Achard removed this pull request from stack #18 November 30, 2026 15:16
@C-Achard
C-Achard added this pull request to stack #42 November 30, 2026 15:16

This branch has not been deployed

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

Labels

canonical Changes something consumers rely on: finding codes, snapshot format, written files validation Discovery, validation, findings and snapshots

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant