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

Update camera_view.py #986

Merged
merged 7 commits into from
Sep 14, 2024
Merged

Update camera_view.py #986

merged 7 commits into from
Sep 14, 2024

Conversation

AdvancedImagingUTSW
Copy link
Collaborator

I'm not 100% sure if the math is performed correctly since it is complicated by the fact that the crosshair is added to the zoom image. But my interpretation is that if the user wants to put the crosshair at position (128, 128) for a 512 x 512 image, then it should stay there when they zoom in.

Copy link

codecov bot commented Sep 12, 2024

Codecov Report

Attention: Patch coverage is 74.41860% with 22 lines in your changes missing coverage. Please review.

Project coverage is 53.91%. Comparing base (f8adf9d) to head (2d03b2d).
Report is 19 commits behind head on develop.

Files with missing lines Patch % Lines
...navigate/controller/sub_controllers/camera_view.py 75.00% 21 Missing ⚠️
.../navigate/controller/sub_controllers/keystrokes.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #986   +/-   ##
========================================
  Coverage    53.90%   53.91%           
========================================
  Files          178      178           
  Lines        19521    19555   +34     
========================================
+ Hits         10523    10543   +20     
- Misses        8998     9012   +14     
Flag Coverage Δ
unittests 53.91% <74.41%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

annie-xd-wang
annie-xd-wang previously approved these changes Sep 13, 2024
I want the location of the crosshair to stay between acquisitions, at least until someone clicks reset display...
@AdvancedImagingUTSW AdvancedImagingUTSW merged commit abfc6fa into develop Sep 14, 2024
1 check 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.

Ability to move crosshair on the camera View tab
2 participants