-
Notifications
You must be signed in to change notification settings - Fork 25
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
Force flux_unit to be unit instance #403
Conversation
instead of a str to be compatible with astropy v7.1
Thank you for your contribution! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
👋 Thank you for your draft pull request! Do you know that you can use |
A bit less obviously also an improvement in the code than for |
You mean here? synphot_refactor/synphot/spectrum.py Lines 1144 to 1146 in 63a63f2
In this case, |
Yes, sorry I didn't look better before commenting! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #403 +/- ##
=======================================
Coverage 97.19% 97.19%
=======================================
Files 17 17
Lines 2031 2031
=======================================
Hits 1974 1974
Misses 57 57 ☔ View full report in Codecov by Sentry. |
Force flux_unit to be unit instance instead of a str to be compatible with astropy v7.1
xref astropy/astropy#17586