astropy__astropy-14369
Incorrect units read from MRT (CDS format) files with astropy.table
Verdict: the issue points to the file or function that was changed (Tier B).
It does seem a bug in the CDS format parser. While as @pllim noted, the regular one parses fine, the CDS one does not: ``` In [3]: u.Unit('10+3J/m/s/kpc2', format='cds') Out[3]: Unit("1000 J s / (kpc2 m)") ``` There must be something fishy in the parser (`astropy/units/format/cds.py`).
The two checks disagreed (stated fix vs. points to it); the lower reading shown: “It does seem a bug in the CDS format parser. While as @pllim noted, the regular one parses fine, the CDS one does not: ``` In [3]: u.Unit('10+3J/m/s/…”
All SWE-bench Verified tasks · more astropy/astropy tasks · How the check works