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

DM-22389: verify fails with Astropy 4 #62

Merged
merged 1 commit into from Nov 27, 2019
Merged

Conversation

kfindeisen
Copy link
Member

This PR fixes a bug in YAML persistence of Measurement and Datum that appears when quantities' values are returned as Numpy floats rather than Python floats.

The error was caused by datum.quantity returning a numpy float, which
is not automatically handled by yaml.
@kfindeisen kfindeisen requested a review from timj November 27, 2019 18:44
Copy link
Member

@timj timj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix. Looks good to me.

@kfindeisen kfindeisen merged commit 124ed82 into master Nov 27, 2019
@kfindeisen kfindeisen deleted the tickets/DM-22389 branch November 27, 2019 20:32
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 this pull request may close these issues.

None yet

2 participants