Skip to content

Add project inspection and capabilities - #31

Draft
C-Achard wants to merge 3 commits into
cy/project-validation-videosfrom
cy/project-inspection
Draft

C-Achard wants to merge 3 commits into
cy/project-validation-videosfrom
cy/project-inspection

Conversation

@C-Achard

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

Copy link
Copy Markdown
Member

Project inspection and capabilities.

  • inspect_project: discover, validate the config, run the baseline and any requested suites, and return the snapshot. Raises ProjectValidationError on blocking findings only when asked.

  • get_project_manager_capabilities: the published layout, with each node's resource kind, management and whether it lies inside a repeated node, and the validation suites available per resource kind.

  • api re-exports inspect_project and project_name.

  • Most held tests land here: those whose only missing piece was inspect_project, plus the rest of the observer, symlink, scope query, validation error, schema ID, baseline and finding schema ID tests.

  • The moved-project control that calls DeepLabCut's read_config is now a test of its own in tests/upstream/test_deeplabcut.py.

  • Capabilities' display hooks land with visualization.

@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 inspection Add project inspection and capabilities 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-inspection branch from 4e332ef to b2a5f62 Compare November 30, 2026 08:14
@C-Achard
C-Achard force-pushed the cy/project-inspection branch 3 times, most recently from 7bdea8d to aeaf891 Compare November 30, 2026 11:07
- Rename the packages to dlccore.project, take the config schema from dlccore.config, and add the dlccore license header
- Drop ProjectManagerCapabilities' IPython display hooks; they render through the visualization package, which lands later
- Re-export inspect_project and project_name from the API package
- Register the data_validator marker
- Land the tests that need inspect_project: new files, and the rest of test_observer, test_symlinks, test_scope_query, test_validation_error, test_schema_id, test_baseline and test_finding_schema_ids
- Move test_inspecting_a_moved_project_leaves_its_config_untouched's positive control, which calls DeepLabCut's read_config, to tests/upstream/test_deeplabcut.py
- Reword an xfail reason that named a planning stack
Cover video symlink matching and collisions, alternate path spellings, and comparisons without file IDs. Use file identities for cross-platform target assertions.
@C-Achard
C-Achard force-pushed the cy/project-inspection branch from aeaf891 to 08f5345 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