glue-viz / glue-astronomy

Plugin to add astronomy-specific functionality to glue
https://glue-astronomy.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
11 stars 12 forks source link

Fix coordinate conversion in PaddedSpectrumWCS #47

Closed astrofrog closed 2 years ago

astrofrog commented 2 years ago

And have added a unit test to make sure things work properly.

codecov[bot] commented 2 years ago

Codecov Report

Merging #47 (0e26b5e) into main (6d703fa) will increase coverage by 0.20%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #47      +/-   ##
==========================================
+ Coverage   95.82%   96.03%   +0.20%     
==========================================
  Files          15       15              
  Lines        1126     1134       +8     
==========================================
+ Hits         1079     1089      +10     
+ Misses         47       45       -2     
Impacted Files Coverage Δ
glue_astronomy/translators/spectrum1d.py 92.51% <100.00%> (+1.48%) :arrow_up:
...lue_astronomy/translators/tests/test_spectrum1d.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6d703fa...0e26b5e. Read the comment docs.