-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Implement JSON serialization and deserialization for Info objects #13489
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
Merged
Merged
Changes from 9 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
fc853e1
first version
bruAristimunha fbe7662
adjusting tests
bruAristimunha a819f85
pre-commit adjustment
bruAristimunha 0d5bf14
[autofix.ci] apply automated fixes
autofix-ci[bot] 4cd7959
importing
bruAristimunha 9c62d3e
Merge branch 'mne_info' of https://github.com/bruAristimunha/mne-pyth…
bruAristimunha 2267226
adjusting the tests
bruAristimunha ba912c2
adjusting the test
bruAristimunha 948f27f
updating the change log
bruAristimunha 49ca3c7
changing the logic
bruAristimunha 6834051
points from the revision process
bruAristimunha 6160b17
making everything serializable
bruAristimunha a396a26
Update mne/_fiff/meas_info.py
bruAristimunha e026156
with self.unlock():
bruAristimunha a30fd3c
removing the mne_version
bruAristimunha 1e68984
Merge branch 'main' into mne_info
bruAristimunha 93aa1f9
reverting
bruAristimunha 63f881f
Update JSON serialization methods in mne.Info class for improved clar…
bruAristimunha d9df2ec
updating the method
bruAristimunha fe0b646
Merge branch 'main' into mne_info
bruAristimunha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Added :meth:`mne.Info.to_dict` and :meth:`mne.Info.from_dict` methods to enable JSON serialization and deserialization of :class:`mne.Info` objects, preserving all data types including numpy arrays, datetime objects, and special MNE types, by `Bruno Aristimunha`_. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.