-
Notifications
You must be signed in to change notification settings - Fork 4
Fix a case conversion issue in accessing SpeXtra #135
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
base: main
Are you sure you want to change the base?
Conversation
…peXtra models (e.g. irtf) have upper case names for the spectral stypes, which can't be accessed via the current code.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #135 +/- ##
=======================================
Coverage 74.25% 74.25%
=======================================
Files 30 30
Lines 1484 1484
=======================================
Hits 1102 1102
Misses 382 382 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Could you perhaps add a test for this to and then maybe assert that I'm asking because that I wouldn't know what to put on that line to trigger the problem. So I would myself not be able to add a test later. |
This does indeed fail on |
Yes, that was my experience too. Those other things are 'normal' behavior for speXtra (or problems, but unrelated to this PR). So I couldn't figure out how to test this. @JenniferKarr could you comment on how to test this? |
|
What is the status of this PR @JenniferKarr ? You didn't assign a reviewer, nevertheless both me and @teutoburg added some comments, so it is not clear to me who is waiting for who. |
remove a .lower() on the model name for stellar models. Some of the SpeXtra models (e.g. irtf) have upper case names for the spectral stypes, which can't be accessed via the current code.