diff --git a/examples/bidspath.py b/examples/bidspath.py index 00376e872..0430e4c72 100644 --- a/examples/bidspath.py +++ b/examples/bidspath.py @@ -7,7 +7,6 @@ BIDSPath is MNE-BIDS's working horse when it comes to file and folder operations. Learn here how to use it. - """ # noqa: D400 # Authors: The MNE-BIDS developers diff --git a/examples/convert_eeg_to_bids.py b/examples/convert_eeg_to_bids.py index abe0646ef..1ad26448f 100644 --- a/examples/convert_eeg_to_bids.py +++ b/examples/convert_eeg_to_bids.py @@ -19,7 +19,6 @@ .. _BrainVision format: https://www.brainproducts.com/support-resources/brainvision-core-data-format-1-0/ .. _CapTrak: https://www.fieldtriptoolbox.org/faq/coordsys/#details-of-the-captrak-coordinate-system - """ # noqa: E501 D205 D400 # Authors: The MNE-BIDS developers diff --git a/examples/convert_ieeg_to_bids.py b/examples/convert_ieeg_to_bids.py index 428b69a19..74812f627 100644 --- a/examples/convert_ieeg_to_bids.py +++ b/examples/convert_ieeg_to_bids.py @@ -38,7 +38,6 @@ .. _appendix VIII: https://bids-specification.readthedocs.io/en/stable/appendices/coordinate-systems.html .. _background on FreeSurfer: https://mne.tools/dev/auto_tutorials/source-modeling/plot_background_freesurfer_mne .. _MNE-Python coordinate frames: https://mne.tools/dev/auto_tutorials/source-modeling/plot_source_alignment.html - """ # noqa: E501 D400 # Authors: The MNE-BIDS developers diff --git a/examples/convert_mri_and_trans.py b/examples/convert_mri_and_trans.py index a8b529af4..807974d82 100644 --- a/examples/convert_mri_and_trans.py +++ b/examples/convert_mri_and_trans.py @@ -26,7 +26,6 @@ .. note:: For this example you will need to install ``matplotlib`` and ``nilearn`` on top of your usual ``mne-bids`` installation. - """ # noqa: E501 D205 D400 # Authors: The MNE-BIDS developers diff --git a/examples/convert_nirs_to_bids.py b/examples/convert_nirs_to_bids.py index ac6e0fb1c..1400169ee 100644 --- a/examples/convert_nirs_to_bids.py +++ b/examples/convert_nirs_to_bids.py @@ -15,7 +15,6 @@ 4. Cite ``mne-bids``. .. currentmodule:: mne_bids - """ # noqa: E501 D205 D400 # Authors: The MNE-BIDS developers diff --git a/examples/read_bids_datasets.py b/examples/read_bids_datasets.py index ceac453b5..995c8c661 100644 --- a/examples/read_bids_datasets.py +++ b/examples/read_bids_datasets.py @@ -22,7 +22,6 @@ In this tutorial, we show how ``read_raw_bids`` can be used to load and inspect BIDS-formatted data. - """ # noqa: D400 # Authors: The MNE-BIDS developers diff --git a/mne_bids/tests/test_write.py b/mne_bids/tests/test_write.py index da99d98e4..b0fc5c328 100644 --- a/mne_bids/tests/test_write.py +++ b/mne_bids/tests/test_write.py @@ -833,7 +833,7 @@ def test_fif(_bids_validate, tmp_path): ) -@pytest.mark.parametrize("format", ("fif_no_chpi", "fif", "ctf", "kit")) +@pytest.mark.parametrize("fmt", ("fif_no_chpi", "fif", "ctf", "kit")) @pytest.mark.filterwarnings(warning_str["maxshield"]) @testing.requires_testing_data def test_chpi(_bids_validate, tmp_path, fmt): diff --git a/mne_bids/write.py b/mne_bids/write.py index 440fe42bc..d34b0dbb4 100644 --- a/mne_bids/write.py +++ b/mne_bids/write.py @@ -1151,7 +1151,7 @@ def _write_raw_brainvision(raw, bids_fname, events, overwrite): events=events, resolution=resolution, unit=unit, - format=fmt, + fmt=fmt, meas_date=None, )