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

[spatial] Add ValueError for mismatched transform names #3062

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

jp-dark
Copy link
Collaborator

@jp-dark jp-dark commented Sep 24, 2024

The transformation argument in the read_region is easy to misinterpret. Add an explicit check for the correct output_axes in the transform for better error messaging.

The transformation argument in the `read_region` is easy to
misinterpret. Add an explicit check for the correct `output_axes` in the
transform for better error messaging.
Copy link

codecov bot commented Sep 24, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 77.83%. Comparing base (b1173a5) to head (795082d).
Report is 1 commits behind head on spatial.

Additional details and impacted files
@@             Coverage Diff             @@
##           spatial    #3062      +/-   ##
===========================================
+ Coverage    77.77%   77.83%   +0.05%     
===========================================
  Files           49       49              
  Lines         5035     5039       +4     
===========================================
+ Hits          3916     3922       +6     
+ Misses        1119     1117       -2     
Flag Coverage Δ
python 77.83% <0.00%> (+0.05%) ⬆️

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

Components Coverage Δ
python_api 77.83% <0.00%> (+0.05%) ⬆️
libtiledbsoma ∅ <ø> (∅)

@jp-dark jp-dark merged commit c579c44 into spatial Sep 24, 2024
11 checks passed
@jp-dark jp-dark deleted the dark/read-region-check-axis-names branch September 24, 2024 20:20
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