tardis-sn / stardis

TARDIS stellar radiative transfer
https://tardis-sn.github.io/stardis/
11 stars 15 forks source link

fix bug that overwrote first entry in opacities_dict #164

Closed jvshields closed 9 months ago

jvshields commented 10 months ago

I introduced a bug when originally creating the Opacities object in the calc_total_opacities() method. This is a more sane way of calculating total opacities with an initialization that doesn't just point the total opacities to the first entry of the dictionary.

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (68b5e52) 68.15% compared to head (2e6269f) 68.15%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #164 +/- ## ======================================= Coverage 68.15% 68.15% ======================================= Files 31 31 Lines 1165 1165 ======================================= Hits 794 794 Misses 371 371 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.