-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Small tweaks to SDSS loaders #1217
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1217 +/- ##
=======================================
Coverage 86.89% 86.89%
=======================================
Files 63 63
Lines 4572 4572
=======================================
Hits 3973 3973
Misses 599 599 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@rosteen small ping on this, just thinking about specutils 2.0, or the next release of |
@havok2063 thanks for the ping, I can take a look tomorrow. I'm trying to get a 2.0 release candidate out in the next couple weeks and release by the end of March, is that timeline ok for this? I wasn't planning to do another 1.x but if it's more urgent I could. |
Thanks @rosteen! It's not urgent. That timeline works just fine! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks good to me.
I think this broke Jdaviz test. Does this mean Jdaviz test had been wrong all along until now, or this patch is incomplete?
|
@pllim The test expectation |
Thanks for the response! @rosteen has a downstream patch at spacetelescope/jdaviz#3489 |
This PR makes some small tweaks to the SDSS data loaders for SDSS-IV APOGEE data. The existing loaders were not correctly auto-identifying the spectrum format, for data from DR17 or from the southern hemisphere LCO 2.5-m. This fixes that.
Additionally it makes a small tweak to the SDSS-IV spec loaders for BOSS, compared to the SDSS-V loaders, to differentiate the two. Previously
identify_spectrum_format
would return a list["SDSS-III/IV spec", "SDSS-V spec"]
which breaks expectations foridentify_spectrum_format
. With the tweak, SDSS spec files from SDSS-IV now correctly return the single format "SDSS-III/IV spec", whereas SDSS-V spec data returns "SDSS-V spec".