Skip to content

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

Merged
oesteban merged 3 commits into
masterfrom
fix/handle-nan-iqms
Aug 23, 2024
Merged

ENH: Use orjson to serialize JSON, addressing Numpy serialization issues#1337
oesteban merged 3 commits into
masterfrom
fix/handle-nan-iqms

Conversation

@oesteban

Copy link
Copy Markdown
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
@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