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

BF: _on_mouse and _on_scroll in viewers for non RAS matrices #1350

Merged
merged 4 commits into from
Sep 23, 2024

Conversation

gjpcbecq
Copy link
Contributor

I have corrected indices for matrices with flipped dimensions.
I have also corrected the ordering of RAS dimensions when order of the RAS are different in the data array.
Perhaps all the code need to be refactored for clarity, using only affine transforms from the viewer to the RAS coordinate system then RAS to ijk, avoiding confusing flipping and reordering.
Perhaps I will look about that, if I have time.

Copy link

codecov bot commented Sep 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.36%. Comparing base (83eaf0b) to head (5d89d2f).
Report is 55 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1350      +/-   ##
==========================================
+ Coverage   95.34%   95.36%   +0.02%     
==========================================
  Files         207      207              
  Lines       29507    29645     +138     
  Branches     4982     4985       +3     
==========================================
+ Hits        28134    28272     +138     
  Misses        932      932              
  Partials      441      441              

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

@gjpcbecq gjpcbecq changed the title BF _on_mouse and _on_scroll in viewers for non RAS matrices BF: _on_mouse and _on_scroll in viewers for non RAS matrices Sep 13, 2024
@gjpcbecq gjpcbecq changed the title BF: _on_mouse and _on_scroll in viewers for non RAS matrices BF: _on_mouse and _on_scroll in viewers for non RAS matrices Sep 13, 2024
@gjpcbecq gjpcbecq changed the title BF: _on_mouse and _on_scroll in viewers for non RAS matrices BF: _on_mouse and _on_scroll in viewers for non RAS matrices Sep 13, 2024
Copy link
Member

@effigies effigies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the detailed tests!

@effigies effigies merged commit f51dced into nipy:master Sep 23, 2024
49 checks passed
@gjpcbecq
Copy link
Contributor Author

You are welcome Chris 🙇‍♂️ thanks for your great job!

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.

2 participants