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

Flatten arrays in ravel evaluation #309

Merged
merged 3 commits into from
Mar 25, 2024

Conversation

SolarDrew
Copy link
Contributor

Otherwise it breaks real hard when you try to pass multiple points into pixel_to_world, because of array broadcasting. This was causing Dataset.axis_world_coords() to have a meltdown. As far as I can tell this change fixes that behaviour without impacting anything else.

Copy link

codecov bot commented Nov 3, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.68%. Comparing base (c6dd4c2) to head (996d43f).
Report is 2 commits behind head on main.

❗ Current head 996d43f differs from pull request most recent head 5d6b252. Consider uploading reports for the commit 5d6b252 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #309      +/-   ##
==========================================
+ Coverage   96.36%   97.68%   +1.31%     
==========================================
  Files          51       32      -19     
  Lines        2832     1855     -977     
==========================================
- Hits         2729     1812     -917     
+ Misses        103       43      -60     

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

@Cadair Cadair force-pushed the flatten-ravel-arrays branch from 31c98ea to 996d43f Compare January 16, 2024 15:19
Otherwise it breaks real hard when you try to pass multiple points
into pixel_to_world, because of array broadcasting
@Cadair Cadair force-pushed the flatten-ravel-arrays branch from 996d43f to 5d6b252 Compare March 25, 2024 14:42
@Cadair Cadair enabled auto-merge (squash) March 25, 2024 14:43
@Cadair Cadair merged commit d03ea50 into DKISTDC:main Mar 25, 2024
16 of 18 checks 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.

2 participants