What’s new?#
Version 0.16 (2024-11-16)#
Detailed list of changes#
🚀 Enhancements#
mne_bids.BIDSPath.match()
andmne_bids.find_matching_paths()
now have additional parametersignore_json
andignore_nosub
, to give users more control over which type of files are matched, by Kaare Mikkelsen (#1281)mne_bids.write_raw_bids()
can now handle event metadata as a pandas DataFrame, by Thomas Hartmann (#1285)
🧐 API and behavior changes#
mne_bids.read_raw_bids()
no longer warns about unit changes in channels upon reading, as that information is taken fromchannels.tsv
and judged authorative, by Stefan Appelhoff (#1282)MEG OPM channels are now experimentally included, by Amaia Benitez (#1222)
mne_bids.mark_channels()
will no longer create astatus_description
column filled withn/a
in thechannels.tsv
file, by Stefan Appelhoff (#1293)mark_channels(..., ch_names=[])
now raises a deprecation warning, and in future its behavior will change from marking all channels to marking no channels; to avoid the warning usemark_channels(..., ch_names="all")
, by Daniel McCloy (#1307)
🛠 Requirements#
MNE-BIDS now requires Python 3.10 or higher.
MNE-BIDS now requires
mne
1.7 or higher.
🪲 Bug fixes#
Writing MEGIN data with MNE channel types chpi will now map to BIDS type HLU by Simon Kern (#1325)
When anonymizing the date of a recording, MNE-BIDS will no longer error during
write_raw_bids
if passing aRaw
instance toempty_room
, by Daniel McCloy (#1270)Dealing with alphanumeric
sub
entity labels is now fixed forwrite_raw_bids()
, by Aaron Earle-Richardson (#1291)When processing subject_info data that MNE Python imports as numpy arrays with only one item, MNE-BIDS now unpacks these, resulting in a correct participants.tsv, by Thomas Hartmann (#1310)
Fixed broken links in examples 7 and 8, by William Turner (#1316)
All valid extensions for
README
files are now accepted. This prevents an extraREADME
file being created, when one with a.txt
,.md
, or.rst
extension is already present. By Thomas Hartmann (#1318)A warning was given if no events were provided but the task was starting with ‘rest’ as recommended by Simon Kern (#1327)
⚕️ Code health#
Keep MNE-BIDS up to date with recent changes on participant birthday date handling in MNE-Python, by Eric Larson (#1278)
Make rules for linting more strict, make quality assessment exceptions less permissive, by Stefan Appelhoff (#1283)
Updates to use
intersphinx_registry
and sorting TOML files, by Mathieu Scheltienne (#1314)Fix dropdown menu in website, by Scott Huberty (#1298)