What’s new?#
Version 0.13 (2023-08-21)#
Detailed list of changes#
🚀 Enhancements#
BIDSPathnow supports the new"sessions"suffix, by Jonathan Vanhoecke and Richard Höchenberger (#1137)The
rm()method will safely delete all the files compatible with that path and update thescans.tsvandparticipants.tsvfiles accordingly, by Pierre Guetschel and Adam Li (#1149)
🧐 API and behavior changes#
When writing events, we now also create an
*_events.jsonfile in addition to*_events.tsv. This ensures compatibility with the upcoming release of BIDS 1.9, by Richard Höchenberger (#1132)We silenced warnings about missing
events.tsvfiles when reading empty-room or resting-state data, by Richard Höchenberger (#1133)BTi ‘processed data files’ (pdf) will no longer be renamed to
c,rf*by default. Instead, they will be copied over without name changes. When reading BTi data viamne-bids, more informative log and error messages will help choosing the right course of action, by Stefan Appelhoff (#1160)
🛠 Requirements#
MNE-BIDS now requires MNE-Python 1.4 or newer.
🪲 Bug fixes#
Amending a dataset now works in cases where the newly-written data contains additional participant properties (new columns in
participants.tsv) not found in the existing dataset, by Richard Höchenberger (#1113)Fix
raw_to_bidsCLI tool to properly recognize boolean and numeric values for theline_freqandoverwriteparameters, by Stefan Appelhoff (#1125)Fix
copyfile_eeglab()to prevent data type conversion leading to aneeg_checksetfailure when trying to load the file in EEGLAB, by Laetitia Fesselier (#1126)Improve compatibility with latest MNE-Python, by Eric Larson (#1128)
Working with
BIDSPathwould sometimes inadvertently create new directories, contaminating the BIDS dataset, by Richard Höchenberger (#1139)Fix thrown error if the
BIDSVersiondefined indataset_description.jsonfile does not match the MNE-BIDS compliantBIDSVersion, ensuring backwards compatibility across BIDS complient tools, by Ford McDonald (#1147)Copying BTi files without a headshape file will no longer raise an error, the file will simply be copied, and the missing headshape file will be ignored, by Stefan Appelhoff (#1158)