Skip to content

Route Napari components by layer mode - #5

Draft
trissim wants to merge 1 commit into
mainfrom
agent/napari-layer-mode
Draft

Route Napari components by layer mode#5
trissim wants to merge 1 commit into
mainfrom
agent/napari-layer-mode

Conversation

@trissim

@trissim trissim commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Outcome

Use the correct Napari vocabulary when component values create separate viewer layers.

What changed

  • make the Napari route-key owner consume ViewerComponentMode.LAYER
  • rename Napari-specific route tests and fixtures from slice to layer
  • preserve the generic/Fiji SLICE path for actual ImageJ Z slices

Depends on the declaration merged in OpenHCSDev/ZMQRuntime#2. No package version or release is included here.

Verification

PYTHONPATH=src:../zmqruntime/src ../../.venv/bin/python -m pytest tests/test_streaming_receiver_core.py -q
13 passed

PYTHONPATH=src:../zmqruntime/src ../../.venv/bin/python -m ruff check --select E9,F63,F7,F82 src/polystore/streaming/receivers/napari/layer_key.py tests/test_streaming_receiver_core.py
All checks passed

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