Skip to content

compatibility astropy #35

@nfbouche

Description

@nfbouche

for unit=u.Unit('nanomaggy'), the line

fits.py:170 dsthdr['BUNIT'] = (unit.to_string('fits'), 'data unit type')

failes inside a try/except.

fix is replacing line fits.py:171 by
except:
instead of
except u.format.fits.UnitScaleError:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions