Skip to content

feat: napari auto-loads in-store labels + single-GPU dashboard - #17

Merged
lguerard merged 2 commits into
mainfrom
feat/napari-autolabels-gpu-dashboard
Jun 23, 2026
Merged

feat: napari auto-loads in-store labels + single-GPU dashboard#17
lguerard merged 2 commits into
mainfrom
feat/napari-autolabels-gpu-dashboard

Conversation

@lguerard

Copy link
Copy Markdown
Contributor

Two UX/observability features, docs updated alongside each.

napari auto-loads labels

view_in_napari("scan.zarr") — with no labels= — now auto-overlays every label image registered under scan.zarr/labels/<name>/ (where tile_process writes them by default), each as its own multi-scale Labels layer. Falls back to image-only if there are none.

Live dashboard on a single GPU

A GPU run (no existing client) starts a 1-worker/1-thread in-process LocalCluster: evals stay serial (no VRAM contention) but a Dask dashboard is exposed and its URL logged, so you can watch tiles stream through. Graceful fallback to the threaded scheduler if distributed/bokeh aren't installed; a user cluster is used as-is.

Docs: napari guide (auto-load + Imaris-pyramid-rebuild note), performance guide (dashboard section). Tests: label discovery + resolution. 29 passed, ruff + mkdocs --strict clean.

🤖 Generated with Claude Code

lguerard and others added 2 commits June 23, 2026 09:55
When labels= is omitted and the image is a .zarr, overlay every label
image registered under labels/<name>/ (where tile_process writes them
by default) as its own multi-scale Labels layer. So view_in_napari(
"scan.zarr") just shows image + segmentation. Docs the Imaris-pyramid
rebuild behaviour too.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
On a GPU run with no existing client, start a 1-worker/1-thread
in-process LocalCluster: GPU evals stay serial (no VRAM contention)
but a Dask dashboard is exposed and its URL logged, so progress is
visible. Falls back to the threaded scheduler if distributed/bokeh are
absent; a user-provided cluster is used as-is.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@lguerard
lguerard merged commit 911d560 into main Jun 23, 2026
1 check passed
@lguerard
lguerard deleted the feat/napari-autolabels-gpu-dashboard branch June 23, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant