Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve detection of quantities #224

Open
nden opened this issue Jun 21, 2019 · 0 comments · May be fixed by #457
Open

Improve detection of quantities #224

nden opened this issue Jun 21, 2019 · 0 comments · May be fixed by #457
Milestone

Comments

@nden
Copy link
Collaborator

nden commented Jun 21, 2019

The wcs object attempts to identify if the inputs are quantities in utils.isnumeric. This fails on ndarrays of certain dtypes. A more robust way to figure this out is needed.

An example of failure is a spec_table['wavelength'] column in a JWST SpecModel for which the dtype is >f8.

@nden nden added this to the 0.11 milestone Jun 21, 2019
@nden nden modified the milestones: 0.11, 1.0 Mar 16, 2020
@spacetelescope spacetelescope deleted a comment from stscijgbot Jun 3, 2023
@Cadair Cadair linked a pull request Oct 12, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant