Closed drdavella closed 3 years ago
To test whether it works, compare opening cubeviz/tests/data/data_cube.fits.gz
both with and without this change.
Merging #560 into master will not change coverage. The diff coverage is
100%
.
@@ Coverage Diff @@
## master #560 +/- ##
=======================================
Coverage 60.86% 60.86%
=======================================
Files 26 26
Lines 4267 4267
=======================================
Hits 2597 2597
Misses 1670 1670
Impacted Files | Coverage Δ | |
---|---|---|
cubeviz/data_factories/ifucube.py | 73.38% <100%> (ø) |
:arrow_up: |
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 160949a...2cdf99e. Read the comment docs.
This resolves #559.
To clarify: we do not check the primary HDU for valid CUNIT/CTYPE unless the primary HDU contains a data array with three dimensions.