Skip to content

Add content reads and file fingerprints - #32

Draft
C-Achard wants to merge 2 commits into
cy/project-inspectionfrom
cy/project-content-fingerprints
Draft

C-Achard wants to merge 2 commits into
cy/project-inspectionfrom
cy/project-content-fingerprints

Conversation

@C-Achard

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

Copy link
Copy Markdown
Member

Content reads and file fingerprints: the project layer's first read through dlccore.io.

  • FingerprintFindingCode: a fingerprint that could not be taken, or changed against a recorded one.

  • resources_file_fingerprint and compare_file_fingerprints, over a snapshot's file resources within a scope. Present files only, so a missing file yields its layout finding and never a second one.

  • api re-exports both, with FailedRead, FileFingerprint and ResourcesFileFingerprint.

  • tests/io/test_boundaries.py gains its control that content does import io.

@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 content fingerprints Add content reads and file fingerprints 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-content-fingerprints branch from f3b719e to 0e5c17f Compare November 30, 2026 08:14
@C-Achard
C-Achard force-pushed the cy/project-content-fingerprints branch 3 times, most recently from a835c99 to ee21121 Compare November 30, 2026 11:07
- Rename the packages to dlccore.project and dlccore.io, and add the dlccore license header
- content's __init__ exports reads and fingerprints only; labeled data follows with its PR
- Re-export the fingerprint entry points from the API package
- Add the control that content does import io to tests/io/test_boundaries.py
- The closed-catalogue test now expects FingerprintFindingCode too
@C-Achard
C-Achard force-pushed the cy/project-content-fingerprints branch from ee21121 to 2d4c819 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