Skip to content

Add project_path validation - #28

Draft
C-Achard wants to merge 3 commits into
cy/project-validation-configfrom
cy/project-validation-project-path
Draft

C-Achard wants to merge 3 commits into
cy/project-validation-configfrom
cy/project-validation-project-path

Conversation

@C-Achard

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

Copy link
Copy Markdown
Member

project_path validation: the declared project path against the observed project root.

  • CONFIG_PROJECT_PATH_MISMATCH and CONFIG_PROJECT_PATH_NOT_ABSOLUTE, both NOTE: a moved project is routine.

  • The declared path is probed, never resolved into output; a path from another platform is compared, not probed.

  • tests/project/inspection/test_policy.py lands whole, now that its config codes exist.

@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 validation project path Add project_path validation 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-validation-project-path branch from 89eefd1 to dd7ecfc Compare November 30, 2026 08:14
@C-Achard
C-Achard force-pushed the cy/project-validation-project-path branch 3 times, most recently from f37f842 to b9e06d7 Compare November 30, 2026 11:07
- Rename the packages to dlccore.project and add the dlccore license header
- tests/inspection/test_policy.py lands whole now that its config codes exist
- tests/validation/deeplabcut/test_project_path.py needs inspect_project and lands with inspection
@C-Achard
C-Achard force-pushed the cy/project-validation-project-path branch from b9e06d7 to 4287fb5 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