Repository navigation
Conversation
C-Achard
marked this pull request as draft
November 24, 2026 16:25
C-Achard
force-pushed
the
cy/io-labeled-data-file
branch
from
November 24, 2026 16:32
4b0978c to
87ceb46
Compare
- Rename the package to dlccore.io and add the dlccore license header - Stamp written H5 files with the writer name dlccore.io.labeled_data - Use wide_df_to_long and name DataFrames `df`, never `frame` - Add import-boundary tests: no format module or the video reader loads until imported, and only LabeledDataFile reads its storage
C-Achard
force-pushed
the
cy/io-labeled-data-file
branch
from
November 24, 2026 16:35
87ceb46 to
893e621
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The public labeled-data file API:
read_labeled_data,write_labeled_data,LabeledDataFile.Writes
df_with_missingkey, a 3- or 4-level header, the row index split into path parts. Rewriting a legacy file therefore converts it; DeepLabCut 3.0.2 reads both forms. Writing a file back in the form found was rejected: it would make every old form a rule of the writer..h5and its.csvtwin are written to temporary files beside the target and swapped in only once both are complete.replaces=), or creates one if none exists.dlccore.io.labeled_datawith the dlccore version.Import boundaries
Fresh-interpreter tests check that importing
dlccore.ioloads neither the video nor the H5 module, and that importing a labeled-data package does not load the H5 module.