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

Upstream fix for "Investigate replacing spectrum1d unit conversion in cubeviz parser" #1181

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

pllim
Copy link
Member

@pllim pllim commented Oct 8, 2024

If accepted, after merge, will need a PR over at Jdaviz to use this and bump specutils pin.

If rejected, hack-fix Jdaviz to overwrite uncertainty after calling with_flux_unit from specutils. No need to bump specutils pin.

🐱

Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.87%. Comparing base (67bea40) to head (e6a872f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1181   +/-   ##
=======================================
  Coverage   86.86%   86.87%           
=======================================
  Files          63       63           
  Lines        4553     4556    +3     
=======================================
+ Hits         3955     3958    +3     
  Misses        598      598           

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

@pllim pllim marked this pull request as ready for review October 8, 2024 17:46
@pllim pllim added the bug label Oct 8, 2024
Copy link
Contributor

@rosteen rosteen left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me, I appreciate the added tests. Thanks!

@pllim
Copy link
Member Author

pllim commented Oct 11, 2024

Thanks for the review and approval!

On the Jdaviz side, what specutils version should we bump to to get this patch?

@pllim pllim merged commit 2329d11 into astropy:main Oct 11, 2024
15 checks passed
@pllim pllim deleted the flux-unit-conv branch October 11, 2024 13:41
@rosteen
Copy link
Contributor

rosteen commented Oct 11, 2024

On the Jdaviz side, what specutils version should we bump to to get this patch?

I'll do a 1.17.1 release since this was a bug.

@pllim
Copy link
Member Author

pllim commented Oct 11, 2024

Actually maybe do a 1.18.0 instead after #1184 is resolved? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants