Skip to content

Commit

Permalink
update units in parser test
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Dec 2, 2022
1 parent bac82cd commit fff6770
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jdaviz/configs/specviz2d/tests/test_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def test_2d_parser_jwst(specviz2d_helper):
assert dc_1.label == 'Spectrum 1D'
assert 'header' not in dc_1.meta

# TODO: Update this when specreduce is fixed.
assert dc_1.get_component('flux').units == 'DN'
# extracted 1D spectrum should have same flux units as 2d spectrum
assert dc_1.get_component('flux').units == dc_0.get_component('flux').units

# Also check the coordinates info panel.
viewer_2d = specviz2d_helper.app.get_viewer('spectrum-2d-viewer')
Expand Down

0 comments on commit fff6770

Please sign in to comment.