Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: make fov_width/fov_height mutable on GridPlans #121

Merged
merged 1 commit into from
Jul 30, 2023

Conversation

tlambert03
Copy link
Member

This makes fov_width and height mutable (making them the only mutable fields in the schema).

The primary reason for this is so that pymmcore-plus engines can mutate fov sizes in place during setup_sequence.

@tlambert03 tlambert03 marked this pull request as ready for review July 30, 2023 20:29
@codecov
Copy link

codecov bot commented Jul 30, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01% 🎉

Comparison is base (d55f43a) 96.39% compared to head (1dbbe59) 96.41%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #121      +/-   ##
==========================================
+ Coverage   96.39%   96.41%   +0.01%     
==========================================
  Files          14       14              
  Lines         804      808       +4     
==========================================
+ Hits          775      779       +4     
  Misses         29       29              
Files Changed Coverage Δ
src/useq/_grid.py 100.00% <100.00%> (ø)
src/useq/_mda_sequence.py 98.36% <100.00%> (+0.01%) ⬆️

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

@tlambert03 tlambert03 merged commit 6585cb4 into pymmcore-plus:main Jul 30, 2023
19 checks passed
@tlambert03 tlambert03 deleted the mutable-fov branch July 30, 2023 20:41
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