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

Fix serialization #16

Merged
merged 29 commits into from
Aug 3, 2023
Merged

Fix serialization #16

merged 29 commits into from
Aug 3, 2023

Conversation

mlincett
Copy link
Contributor

@mlincett mlincett commented Jul 29, 2023

(Hot)fix of serialization by converting the dtype.metadata to python bultins.

Adds a script for npz to json conversion.

Minor editing of comments and typo fixes.

Fixes #14

@mlincett mlincett requested a review from ric-evans July 29, 2023 06:19
skyreader/result.py Outdated Show resolved Hide resolved
@mlincett mlincett requested a review from ric-evans August 1, 2023 06:58
@mlincett
Copy link
Contributor Author

mlincett commented Aug 1, 2023

Thanks for the feedback @ric-evans . I've added basic testing for the npz to JSON conversion.

.github/workflows/test.yml Outdated Show resolved Hide resolved
@mlincett mlincett requested a review from ric-evans August 2, 2023 01:14
@mlincett mlincett requested a review from ric-evans August 3, 2023 03:00
@mlincett mlincett merged commit 5b756cc into main Aug 3, 2023
@ric-evans ric-evans deleted the npz-to-json branch August 3, 2023 16:11
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.

Writing JSON from npz fails because int64 is not JSON serializable
3 participants