Skip to content

Adding ability to change channel once loaded and also handle curve data#39

Draft
ahobbs7 wants to merge 16 commits into
mainfrom
ahobbs7/load_all_channels
Draft

Adding ability to change channel once loaded and also handle curve data#39
ahobbs7 wants to merge 16 commits into
mainfrom
ahobbs7/load_all_channels

Conversation

@ahobbs7

@ahobbs7 ahobbs7 commented May 4, 2026

Copy link
Copy Markdown
Collaborator

When a file is loaded into napari, a widget will now be added to the dock on the right allowing the channel to be changed.
Furthermore, the addition of the get available channels function in AFMReader allows us to cut the weird log capturing code to get available channels and just use the function.
The update also allows the handling of curve data passed from .jpk-qi-data.


Before submitting a Pull Request please check the following.

  • Existing tests pass.
  • Documentation has been updated and builds.
  • Pre-commit checks pass.
  • New functions/methods have typehints and docstrings.
  • New functions/methods have tests which check the intended behaviour is correct.

@codecov

codecov Bot commented May 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 61.13208% with 103 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.45%. Comparing base (6ebdf6c) to head (5e21a4c).

Files with missing lines Patch % Lines
napari-afmreader/src/napari_afmreader/_reader.py 52.83% 100 Missing ⚠️
napari-afmreader/src/napari_afmreader/_alerts.py 91.89% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #39       +/-   ##
===========================================
- Coverage   98.93%   66.45%   -32.48%     
===========================================
  Files           3        4        +1     
  Lines          94      319      +225     
===========================================
+ Hits           93      212      +119     
- Misses          1      107      +106     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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