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

ENH: Use orjson to serialize JSON, addressing Numpy serialization issues #1337

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

oesteban
Copy link
Member

Replaces the standard json library with orjson, which is way faster
and more reliable in terms of encoding numpy objects (the main issue we
typically hit within MRIQC).

Incidentally, this PR fixes an import of simplejson, which was not
listed as a dependency.

Related-to: #1302.
Closes: #546.
Closes: #1089.
Closes: #1133.

Replaces the standard `json` library with `orjson`, which is way faster
and more reliable in terms of encoding numpy objects (the main issue we
typically hit within *MRIQC*).

Incidentally, this PR fixes an import of `simplejson`, which was not
listed as a dependency.

Related-to: #1302.
Closes: #546.
Closes: #1089.
Closes: #1133.
@oesteban oesteban merged commit 1a26b93 into master Aug 23, 2024
15 checks passed
@oesteban oesteban deleted the fix/handle-nan-iqms branch August 23, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant