Skip to content

Add labeled-data checks and the wide-to-long conversion - #16

Draft
C-Achard wants to merge 2 commits into
cy/io-long-modelfrom
cy/io-checks
Draft

C-Achard wants to merge 2 commits into
cy/io-long-modelfrom
cy/io-checks

Conversation

@C-Achard

Copy link
Copy Markdown
Member

Checks on labeled data, and the wide-to-long conversion.

  • Checks are non-prescriptive and not meant to mention how to repair data; a writer would raise on it, validation would report it and provide context-dependent information/guidance.
  • The conversion takes values from the classified column positions, never by looking up level values, so duplicated or reordered columns cannot pick up the wrong ones.

@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 validation Discovery, validation, findings and snapshots 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
- Rename the package to dlccore.io and add the dlccore license header
- Rename wide_frame_to_long to wide_df_to_long and DataFrame parameters
  to `df`, matching classify_wide_df
- Rewrite the checks and conversion docstrings to state inputs, outputs
  and the reason for each check
- Point the private-table boundary test at dlccore and at
  LabeledData._df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

consumer: deeplabcut Needed by or affects DeepLabCut consumer: napari Needed by or affects napari-deeplabcut io: labeled-data CollectedData and machinelabels files validation Discovery, validation, findings and snapshots

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant