Closed jvshields closed 10 months ago
Attention: 25 lines
in your changes are missing coverage. Please review.
Comparison is base (
b560322
) 66.73% compared to head (7d77bbf
) 67.40%. Report is 3 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
stardis/plasma/base.py | 19.35% | 25 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I agree test coverage would be good, but I think the right way to add a test for this is beyond the scope of this PR. I'd like to set up a model fixture which can be used for a couple things (including regression tests). I'm planning to do that next but didn't want to add that whole infrastructure here.
This calculates opacities with the short form of a vald linelist. Allows us to directly compare to korg (since as far as we can tell they can't use the long-form linelist). Also modifies the config schema to accept a shortlist specification so that the new calculation can be used.
At some point soon it'd be nice to get proper regression tests going, since that's the easiest way to test the plasma. This seems to me like the best way to test the different plasmas and calculated opacities.