Skip to content

Pass cell metadata through napari.#629

Open
matham wants to merge 1 commit into
brainglobe:mainfrom
matham:metadata
Open

Pass cell metadata through napari.#629
matham wants to merge 1 commit into
brainglobe:mainfrom
matham:metadata

Conversation

@matham

@matham matham commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Description

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

Why is this PR needed?

Previously we added support for round-tripping cell metadata through Napari via brainglobe/brainglobe-napari-io#102. However, within Cellfinder itself we also add cell layers and convert layers to Cells. The code within cellfinder did not have support for round-tripping cell metadata.

What does this PR do?

This adds support for round-tripping the cell metadata, similar to that PR. Ideally this may all happen perhaps in brainglobe-utils? But for now it's not a lot of changes so I kept things simple and just added the fix here.

References

brainglobe/brainglobe-napari-io#102.

How has this PR been tested?

Locally in typical use as well as added test.

Is this a breaking change?

No.

Does this PR require an update to the documentation?

No.

Checklist:

  • The code has been tested locally
  • Tests have been added to cover all new functionality (unit & integration)
  • The documentation has been updated to reflect any changes
  • The code has been formatted with pre-commit

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