We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bac82cd commit fff6770Copy full SHA for fff6770
jdaviz/configs/specviz2d/tests/test_parsers.py
@@ -25,8 +25,8 @@ def test_2d_parser_jwst(specviz2d_helper):
25
assert dc_1.label == 'Spectrum 1D'
26
assert 'header' not in dc_1.meta
27
28
- # TODO: Update this when specreduce is fixed.
29
- 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
30
31
# Also check the coordinates info panel.
32
viewer_2d = specviz2d_helper.app.get_viewer('spectrum-2d-viewer')
0 commit comments