What was new in previous releases?

Version 0.5 (2020-10-22)

This is a big release with lots of changes, many of them breaking existing code. But do not fear: migration is easy, and you will love what we have been cooking for you!

Notable changes

  • We introduce mne_bids.BIDSPath, a new class for all BIDS file and folder operations. All functions in MNE-BIDS that previously accepted filenames and folder locations (e.g. bids_root) have been updated to work with BIDSPath. Others have been removed. Consequently, you will need to update your existing code, too. See the API changes section for an overview of which functions have changed or have been removed, and follow this introduction and our to learn about the basics of BIDSPath. Don’t worry – it’s going to be a breeze! 🤗

  • MNE-BIDS now requires MNE-Python 0.21.

  • The new function mne_bids.make_report() can help you populate a paragraph of your next paper’s methods section!

  • You can now interactively mark channels as bad using mne_bids.mark_bad_channels().

  • Elekta/Neuromag/MEGIN fine-calibration and crosstalk files can now be stored in your BIDS dataset via mne_bids.write_meg_calibration() and mne_bids.write_meg_crosstalk().

  • When writing a raw file that contains annotations, these will now be converted to and stored as events by mne_bids.write_raw_bids().

Detailed list of changes

Enhancements

Bug fixes

API changes

In the transition to using mne_bids.BIDSPath, the following functions have been updated:

The following functions have been removed:

Further API changes:

Version 0.4

Changelog

Bug

Authors

People who contributed to this release (in alphabetical order):

  • Adam Li

  • Alex Rockhill

  • Alexandre Gramfort

  • Ariel Rokem

  • Dominik Welke

  • Fu-Te Wong

  • Mainak Jas

  • Maximilien Chaumon

  • Richard Höchenberger

  • Sophie Herbst

  • Stefan Appelhoff

  • Teon Brooks

Version 0.3

Changelog

Bug

  • Fixed bug in mne_bids.datasets.fetch_faces_data where downloading multiple subjects was impossible, by Stefan Appelhoff (#262)

  • Fixed bug where read_raw_bids() would throw a ValueError upon encountering strings in the “onset” or “duration” column of events.tsv files, by Stefan Appelhoff (#234)

  • Allow raw data from KIT systems to have two marker files specified, by Matt Sanderson (#173)

API

  • read_raw_bids() no longer optionally returns events and event_id but returns the raw object with mne.Annotations, whenever an events.tsv file is present, by Stefan Appelhoff (#209)

Authors

People who contributed to this release (in alphabetical order):

  • Alexandre Gramfort

  • Mainak Jas

  • Marijn van Vliet

  • Matt Sanderson

  • Stefan Appelhoff

  • Teon Brooks

Version 0.2

Changelog

Bug

  • Normalize the length of the branches in mne_bids.print_dir_tree() by the length of the root path, leading to more adequate visual display, by Stefan Appelhoff (#192)

  • Assert a minimum required MNE-version, by Dominik Welke (#166)

  • Add function in mne_bids.utils to copy and rename CTF files mne_bids.utils.copyfile_ctf, by Romain Quentin (#162)

  • Encoding of BrainVision .vhdr/.vmrk files is checked to prevent encoding/decoding errors when modifying, by Dominik Welke (#155)

  • The original units present in the raw data will now correctly be written to channels.tsv files for BrainVision, EEGLAB, and EDF, by Stefan Appelhoff (#125)

  • Fix logic with inferring unknown channel types for CTF data, by Mainak Jas (#129)

  • Fix the file naming for FIF files to only expose the part key-value pair when files are split, by Teon Brooks (#137)

  • Allow files with no stim channel, which could be the case for example in resting state data, by Mainak Jas (#167)

  • Better handling of unicode strings in TSV files, by Mainak Jas (#172)

  • Fix separator in scans.tsv to always be /, by Matt Sanderson (#176)

  • Add seeg to mne_bids.utils._handle_datatype when determining the kind of ieeg data, by Ezequiel Mikulan (#180)

  • Fix problem in copying CTF files on Network File System due to a bug upstream in Python, by Mainak Jas (#174)

  • Fix problem in copying BTi files. Now, a utility function ensures that all the related files such as config and headshape are copied correctly, by Mainak Jas (#135)

  • Fix name of “sample” and “value” columns on events.tsv files, by Ezequiel Mikulan (#185)

  • Update function to copy KIT files to the meg directory, by Matt Sanderson (#187)

API

Authors

People who contributed to this release (in alphabetical order):

  • Alexandre Gramfort

  • Chris Holdgraf

  • Clemens Brunner

  • Dominik Welke

  • Ezequiel Mikulan

  • Mainak Jas

  • Matt Sanderson

  • Maximilien Chaumon

  • Romain Quentin

  • Stefan Appelhoff

  • Teon Brooks

Version 0.1

Changelog

Bug

  • Correctly handle the case when measurement date is not available, by Mainak Jas (#23)

  • Fix counting of miscellaneous channels, by Matt Sanderson (#49)

  • The source data is now copied over to the new BIDS directory. Previously this was only true for FIF data, by Stefan Appelhoff (#55)

  • Fix ordering of columns in scans.tsv, by Matt Sanderson (#68)

  • Fix bug in how artificial trigger channel STI014 is handled in channels.tsv for KIT systems, by Matt Sanderson (#72)

  • Fix channel types for KIT system in channels.tsv, by Matt Sanderson (#76)

  • Fix the way FIF files are named to satisfy the BIDS part parameters of the filename construction, Teon Brooks (#102)

  • Fix how overwriting of data is handled, by Matt Sanderson (#99)

Authors

People who contributed to this release (in alphabetical order):

  • Alexandre Gramfort

  • Chris Holdgraf

  • Kambiz Tavabi

  • Mainak Jas

  • Matt Sanderson

  • Romain Quentin

  • Stefan Appelhoff

  • Teon Brooks