Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Transform widget (2nd iteration) #153

Closed
wants to merge 12 commits into from
Closed

Conversation

alessandrofelder
Copy link
Member

@alessandrofelder alessandrofelder commented Apr 5, 2023

Description

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

Why is this PR needed?

What does this PR do?

  • adds a widget to transform cells into atlas space
  • adds a smoke test that checks that running the widgets adds an extra points layer.

References

This PR builds on top of the abandoned #117 PR and fixes brainglobe/cellfinder#316.

Differences to #117

  • layer needs to be added to viewer instead of returned by magicgui
  • main branch has sinced moved to using pyproject.toml so new dependencies need to be included there
  • test data should be hosted on gin-gnode (instead of included with git-lfs)
  • test data should be accessed with pooch
  • problems with real-life data (see Widget to transform cells to an atlas space #117 (comment)) should be reproduced, fixed, and tested.

How has this PR been tested?

Please explain how any new code has been tested, and how you have ensured that no existing functionality has changed.

Is this a breaking change?

No, just adds an additional widget.

Does this PR require an update to the documentation?

If any features have changed, or have been added. Please explain how the documentation has been updated (and link to the associated PR). See here for details.

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

@deprecated-napari-hub-preview-bot
Copy link

deprecated-napari-hub-preview-bot bot commented Apr 5, 2023

Preview page for your plugin is ready here:
https://preview.napari-hub.org/brainglobe/cellfinder-napari/153
Updated: 2023-04-05T14:45:29.386108

@codecov
Copy link

codecov bot commented Apr 5, 2023

Codecov Report

Patch coverage: 91.52% and project coverage change: -0.27 ⚠️

Comparison is base (d66f030) 95.35% compared to head (97b9c3d) 95.09%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     brainglobe/cellfinder-napari#153      +/-   ##
==========================================
- Coverage   95.35%   95.09%   -0.27%     
==========================================
  Files          17       19       +2     
  Lines         797      856      +59     
==========================================
+ Hits          760      814      +54     
- Misses         37       42       +5     
Impacted Files Coverage Δ
cellfinder_napari/transform.py 84.84% <84.84%> (ø)
cellfinder_napari/tests/test_transform.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@alessandrofelder
Copy link
Member Author

closing, see #117 for explanation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support transforming detected cells to a reference atlas
2 participants