# \#mne-bids-pipeline

**URL:** https://mne.discourse.group/tag/mne-bids-pipeline/72.md

[Latest](https://mne.discourse.group/latest.md) · [Categories](https://mne.discourse.group/categories.md) · [Tags](https://mne.discourse.group/tags.md)

---

## [Interpolating channels marked as 'bad' in the MNE-BIDS-Pipeline](https://mne.discourse.group/t/interpolating-channels-marked-as-bad-in-the-mne-bids-pipeline/11860)

<div class="topic-metadata">

**Author:** [@lightwind](https://mne.discourse.group/u/lightwind)\
**Replies:** 4\
**Last updated:** [June 14, 2026, 11:26am UTC](https://mne.discourse.group/t/interpolating-channels-marked-as-bad-in-the-mne-bids-pipeline/11860 "2026-06-14T11:26:23Z")

</div>

Dear community, When preparing my EEG data for analysis with the MNE-BIDS-Pipeline, I mark very noisy or flat channels as ‘bad’, following the recommendations I found on the documentation. However, the pipeline appears …

---

## [Channel interpolation and frequency filtering in MNE-BIDS-Pipeline](https://mne.discourse.group/t/channel-interpolation-and-frequency-filtering-in-mne-bids-pipeline/6583)

<div class="topic-metadata">

**Author:** [@fraenni](https://mne.discourse.group/u/fraenni)\
**Replies:** 3\
**Last updated:** [June 10, 2026, 2:32pm UTC](https://mne.discourse.group/t/channel-interpolation-and-frequency-filtering-in-mne-bids-pipeline/6583 "2026-06-10T14:32:48Z")

</div>

Hello, thanks for the new features in the pipeline. I am using the pipeline for ONLY eeg-data I have two general questions: Is it possible to define bad EEG channels and interpolate them in a later state? Is it poss…

---

## [Unexpected path and file names](https://mne.discourse.group/t/unexpected-path-and-file-names/11751)

<div class="topic-metadata">

**Author:** [@LeonardoMelloni](https://mne.discourse.group/u/LeonardoMelloni)\
**Replies:** 8\
**Last updated:** [May 5, 2026, 6:53am UTC](https://mne.discourse.group/t/unexpected-path-and-file-names/11751 "2026-05-05T06:53:19Z")

</div>

MNE version: 1.11.0 operating system: WSL: Ubuntu-22.04 Hi guys. Following the suggestion of @larsoner in this other topic, I tried to install the latest main of mne-bids-pipeline from GitHub to make sure to be u…

---

## [ICA on multiple runs](https://mne.discourse.group/t/ica-on-multiple-runs/11784)

<div class="topic-metadata">

**Author:** [@LeonardoMelloni](https://mne.discourse.group/u/LeonardoMelloni)\
**Replies:** 2\
**Last updated:** [April 3, 2026, 3:15pm UTC](https://mne.discourse.group/t/ica-on-multiple-runs/11784 "2026-04-03T15:15:22Z")

</div>

mne-bids-pipeline 1.9 Hello! I’m using MNE-BIDS-Pipeline with resting state CTF data, with 5 runs per subject (1 “true” resting state + 4 meditation states without events, all to be processed in the same way). I have i…

---

## [MNE-BIDS-Pipeline error: \`raw\_task-rest\_run-None\` with dataset lacking run entity](https://mne.discourse.group/t/mne-bids-pipeline-error-raw-task-rest-run-none-with-dataset-lacking-run-entity/11798)

<div class="topic-metadata">

**Author:** [@Ananta](https://mne.discourse.group/u/Ananta)\
**Replies:** 0\
**Last updated:** [April 3, 2026, 12:40pm UTC](https://mne.discourse.group/t/mne-bids-pipeline-error-raw-task-rest-run-none-with-dataset-lacking-run-entity/11798 "2026-04-03T12:40:47Z")

</div>

:red\_question\_mark: If you have a question or issue with MNE-Python, please include the following info: MNE version: 1.11.0 MNE-BIDS-Pipeline version: 1.9.0 operating system: Ubuntu 24.04.1 LTS Hi everyone, I am cur…

---

## [inverse solution for resting state](https://mne.discourse.group/t/inverse-solution-for-resting-state/11760)

<div class="topic-metadata">

**Author:** [@LeonardoMelloni](https://mne.discourse.group/u/LeonardoMelloni)\
**Replies:** 6\
**Last updated:** [March 25, 2026, 10:13pm UTC](https://mne.discourse.group/t/inverse-solution-for-resting-state/11760 "2026-03-25T22:13:25Z")

</div>

Hi everyone. I want to apply source reconstruction to MEG resting state. I calculated the noise covariance matrix from emptyroom. Is the pipeline able to do this? From inverse\_target seems this case is not considered……

---

## [Error: Compensation grade of ICA (3) and Raw (0) do not match](https://mne.discourse.group/t/error-compensation-grade-of-ica-3-and-raw-0-do-not-match/11731)

<div class="topic-metadata">

**Author:** [@LeonardoMelloni](https://mne.discourse.group/u/LeonardoMelloni)\
**Replies:** 12\
**Last updated:** [March 16, 2026, 2:17pm UTC](https://mne.discourse.group/t/error-compensation-grade-of-ica-3-and-raw-0-do-not-match/11731 "2026-03-16T14:17:03Z")

</div>

MNE version: 1.11.0 operating system: WSL: Ubuntu-22.04 Hi everyone! I’m a young researcher very new to MEG analysis and MNE… looking for some help :blush: I’m currently adapting an MEG pre-processing pipeline writte…

---

## [How to share mf\_destination across multiple tasks in a single MEG session?](https://mne.discourse.group/t/how-to-share-mf-destination-across-multiple-tasks-in-a-single-meg-session/11618)

<div class="topic-metadata">

**Author:** [@nissauce](https://mne.discourse.group/u/nissauce)\
**Replies:** 0\
**Last updated:** [December 17, 2025, 8:06am UTC](https://mne.discourse.group/t/how-to-share-mf-destination-across-multiple-tasks-in-a-single-meg-session/11618 "2025-12-17T08:06:04Z")

</div>

Hi everyone, I’m currently preprocessing MEG data using mne-bids-pipeline and I’m running into a couple of issues related to handling multiple tasks and split recordings. Multiple tasks in the same session I have thre…

---

## [add custom columns to tsv files](https://mne.discourse.group/t/add-custom-columns-to-tsv-files/11606)

<div class="topic-metadata">

**Author:** [@anotheruser1234321](https://mne.discourse.group/u/anotheruser1234321)\
**Replies:** 0\
**Last updated:** [December 2, 2025, 2:35pm UTC](https://mne.discourse.group/t/add-custom-columns-to-tsv-files/11606 "2025-12-02T14:35:04Z")

</div>

For a large data reorganization project we’re hoping to “bidsify” our existing EEG data. We have rich metadata that would fit nicely within the BIDS structure as extra (custom) columns in various tsv files. With code in…

---

## [Issue when saving raw files loaded with mne\_bids.read\_raw\_bids](https://mne.discourse.group/t/issue-when-saving-raw-files-loaded-with-mne-bids-read-raw-bids/11345)

<div class="topic-metadata">

**Author:** [@nissauce](https://mne.discourse.group/u/nissauce)\
**Replies:** 1\
**Last updated:** [July 7, 2025, 10:01am UTC](https://mne.discourse.group/t/issue-when-saving-raw-files-loaded-with-mne-bids-read-raw-bids/11345 "2025-07-07T10:01:28Z")

</div>

Hi, I’m encountering an issue saving raw files loaded with mne\_bids.read\_raw\_bids(). When I use this function and I want to save my raw file like that : bids\_path = BIDSPath(subject=subject, session='01', task='task',…

---

## [mne-bids-pipeline: how to add custom metadata to epochs?](https://mne.discourse.group/t/mne-bids-pipeline-how-to-add-custom-metadata-to-epochs/11272)

<div class="topic-metadata">

**Author:** [@sophie](https://mne.discourse.group/u/sophie)\
**Replies:** 2\
**Last updated:** [June 16, 2025, 7:53am UTC](https://mne.discourse.group/t/mne-bids-pipeline-how-to-add-custom-metadata-to-epochs/11272 "2025-06-16T07:53:33Z")

</div>

Hello! This question is specific to the mne-bids-pipeline. I would like to add a column of parametric values to my metadata, for instance a value of confidence or surprise. I have events coded according to my condition…

---

## [BAD\_muscles annotations in mne-bids-pipeline steps](https://mne.discourse.group/t/bad-muscles-annotations-in-mne-bids-pipeline-steps/11193)

<div class="topic-metadata">

**Author:** [@Sofia](https://mne.discourse.group/u/Sofia)\
**Replies:** 0\
**Last updated:** [May 13, 2025, 10:17am UTC](https://mne.discourse.group/t/bad-muscles-annotations-in-mne-bids-pipeline-steps/11193 "2025-05-13T10:17:27Z")

</div>

Hi everyone, I am currently using mne-bids-pipeline for MEG data preprocessing. Since I noticed that in my data there are some muscle-related artefacts, I am using the mne function annotate\_muscle\_zscore to mark the bad…

---

## [Error when 'run' BIDS entity is not specified in MNE-BIDS-Pipeline](https://mne.discourse.group/t/error-when-run-bids-entity-is-not-specified-in-mne-bids-pipeline/10981)

<div class="topic-metadata">

**Author:** [@allermat](https://mne.discourse.group/u/allermat)\
**Replies:** 0\
**Last updated:** [March 20, 2025, 10:40am UTC](https://mne.discourse.group/t/error-when-run-bids-entity-is-not-specified-in-mne-bids-pipeline/10981 "2025-03-20T10:40:32Z")

</div>

Hi, when processing the MEG file named sub-CC120049\_ses-P2\_task-rest\_meg.fif with the MNE-BIDS-Pipeline we get the following error: :x: sub-CC120049 ses-P2 run-rest A critical error occurred. The error message was: 'r…

---

## [MNE-BIDS emptyroom recording saving style](https://mne.discourse.group/t/mne-bids-emptyroom-recording-saving-style/10819)

<div class="topic-metadata">

**Author:** [@allermat](https://mne.discourse.group/u/allermat)\
**Replies:** 2\
**Last updated:** [February 20, 2025, 3:20pm UTC](https://mne.discourse.group/t/mne-bids-emptyroom-recording-saving-style/10819 "2025-02-20T15:20:35Z")

</div>

Hi, MNE-BIDS writes the emptyroom recordings in a separate subject, called sub-emptyroom with separate subfolders for each recording session based on date, like it is described in the BIDS Specification here. However, …

---

## [Help for understanding the find\_ica\_artifacts part of mne\_bids\_pipeline](https://mne.discourse.group/t/help-for-understanding-the-find-ica-artifacts-part-of-mne-bids-pipeline/10379)

<div class="topic-metadata">

**Author:** [@librethinker](https://mne.discourse.group/u/librethinker)\
**Replies:** 1\
**Last updated:** [October 17, 2024, 10:28am UTC](https://mne.discourse.group/t/help-for-understanding-the-find-ica-artifacts-part-of-mne-bids-pipeline/10379 "2024-10-17T10:28:45Z")

</div>

I try to recreate the functionality of the mne\_bids\_pipeline \_06a2\_find\_ica\_artifacts step. Here is my function: def detect\_eog\_components( ica: mne.preprocessing.ICA, raw: mne.io.BaseRaw, epochs: mne.Epoch…

---

## [Best practice for EOG artifact detection in MNE-BIDS-Pipeline without dedicated EOG channels](https://mne.discourse.group/t/best-practice-for-eog-artifact-detection-in-mne-bids-pipeline-without-dedicated-eog-channels/10367)

<div class="topic-metadata">

**Author:** [@librethinker](https://mne.discourse.group/u/librethinker)\
**Replies:** 1\
**Last updated:** [October 16, 2024, 8:26am UTC](https://mne.discourse.group/t/best-practice-for-eog-artifact-detection-in-mne-bids-pipeline-without-dedicated-eog-channels/10367 "2024-10-16T08:26:37Z")

</div>

I’m using the MNE-BIDS-Pipeline on EEG data that doesn’t have dedicated EOG channels. I want to automatically select ICs corresponding to EOG artifacts during the ICA step. We alo conduct studies with children, where hor…

---

## [Implementing subject-specific EEG reference in mne-bids-pipeline](https://mne.discourse.group/t/implementing-subject-specific-eeg-reference-in-mne-bids-pipeline/10365)

<div class="topic-metadata">

**Author:** [@librethinker](https://mne.discourse.group/u/librethinker)\
**Replies:** 3\
**Last updated:** [October 15, 2024, 6:48pm UTC](https://mne.discourse.group/t/implementing-subject-specific-eeg-reference-in-mne-bids-pipeline/10365 "2024-10-15T18:48:42Z")

</div>

I’m new to using the mne-bids-pipeline and am impressed by its refinement and ease of use. However, I have a question regarding configuration files for our EEG research with cochlear implant (CI) patients. Our study inv…

---

## [Proper way to add and handle reference channels in MNE-BIDS-Pipeline](https://mne.discourse.group/t/proper-way-to-add-and-handle-reference-channels-in-mne-bids-pipeline/10366)

<div class="topic-metadata">

**Author:** [@librethinker](https://mne.discourse.group/u/librethinker)\
**Replies:** 1\
**Last updated:** [October 11, 2024, 1:25pm UTC](https://mne.discourse.group/t/proper-way-to-add-and-handle-reference-channels-in-mne-bids-pipeline/10366 "2024-10-11T13:25:13Z")

</div>

I’m working with raw Brain Vision EEG data that was originally referenced to Cz, so this channel is not included in the data. I want to add Cz back as a flat channel and then rereference to TP9/TP10. Currently, I’m using…

---

## [equipment\_code error while converting to BIDS](https://mne.discourse.group/t/equipment-code-error-while-converting-to-bids/9302)

<div class="topic-metadata">

**Author:** [@Pouyarabiei](https://mne.discourse.group/u/Pouyarabiei)\
**Replies:** 0\
**Last updated:** [September 10, 2024, 9:09pm UTC](https://mne.discourse.group/t/equipment-code-error-while-converting-to-bids/9302 "2024-09-10T21:09:58Z")

</div>

Hello everyone I am trying to convert re\_eeg to BIDS format. I have an error as ValueError: Subfield equipment\_code contains spaces: ‘Geodesic Sensor Net 64 2.0’ although I tried to remove the spaces in my code. I ap…

---

## [MNE-BIDS-PIPELINE custom config.mri\_t1\_path\_generator\_func :: AttributeError: 'NoneType' object has no attribute 'suffix'](https://mne.discourse.group/t/mne-bids-pipeline-custom-config-mri-t1-path-generator-func-attributeerror-nonetype-object-has-no-attribute-suffix/9292)

<div class="topic-metadata">

**Author:** [@neuroLena](https://mne.discourse.group/u/neuroLena)\
**Replies:** 3\
**Last updated:** [September 10, 2024, 10:30am UTC](https://mne.discourse.group/t/mne-bids-pipeline-custom-config-mri-t1-path-generator-func-attributeerror-nonetype-object-has-no-attribute-suffix/9292 "2024-09-10T10:30:22Z")

</div>

mne 1.8.0 mne\_bids\_pipeline 1.9.0 Ubuntu 24.04.1 LTS I am running the pipilene step source/\_04\_make\_forward.py with custom function to get paths to T1w files. They are recorded in a separate day and have a bit differen…

---

## [file does not start with a file id tag error in mne-bids-pipeline](https://mne.discourse.group/t/file-does-not-start-with-a-file-id-tag-error-in-mne-bids-pipeline/9136)

<div class="topic-metadata">

**Author:** [@allermat](https://mne.discourse.group/u/allermat)\
**Replies:** 1\
**Last updated:** [July 31, 2024, 10:43am UTC](https://mne.discourse.group/t/file-does-not-start-with-a-file-id-tag-error-in-mne-bids-pipeline/9136 "2024-07-31T10:43:09Z")

</div>

Dear All, I’m trying to run the MNE Sample data demo with MNE-BIDS-Pipeline. I get the following error, saying that the file does not start with a file id tag: (/cognestic/mne) cognestic@labQLFR95:~/Desktop/cognestic/…

---

## [Problem running mne-bids-pipeline when no EEG or additional points on the head were digitized](https://mne.discourse.group/t/problem-running-mne-bids-pipeline-when-no-eeg-or-additional-points-on-the-head-were-digitized/7948)

<div class="topic-metadata">

**Author:** [@Fosca](https://mne.discourse.group/u/Fosca)\
**Replies:** 2\
**Last updated:** [June 10, 2024, 11:23am UTC](https://mne.discourse.group/t/problem-running-mne-bids-pipeline-when-no-eeg-or-additional-points-on-the-head-were-digitized/7948 "2024-06-10T11:23:46Z")

</div>

Dear MNE developers, My problem is related to the Maxfilter step of mne\_bids\_pipeline. MNE version: 1.5.1 operating system: macOS 12.2.1 When running mne\_bids\_pipeline for some MEG data where I just recorded the posi…

---

## [Using event properties other than trial\_type and value in MNE-BIDS-Pipeline](https://mne.discourse.group/t/using-event-properties-other-than-trial-type-and-value-in-mne-bids-pipeline/8589)

<div class="topic-metadata">

**Author:** [@emid](https://mne.discourse.group/u/emid)\
**Replies:** 0\
**Last updated:** [April 3, 2024, 8:33pm UTC](https://mne.discourse.group/t/using-event-properties-other-than-trial-type-and-value-in-mne-bids-pipeline/8589 "2024-04-03T20:33:20Z")

</div>

I’m wondering if there’s a straightforward way to use variables other than trial\_type and value that are available in the event file for defining conditions and contrasts in MNE-BIDS-Pipeline. Thanks for your help

---

## [Error when setting analyze\_channels using mne bids pipeline](https://mne.discourse.group/t/error-when-setting-analyze-channels-using-mne-bids-pipeline/8134)

<div class="topic-metadata">

**Author:** [@hechlera](https://mne.discourse.group/u/hechlera)\
**Replies:** 5\
**Last updated:** [March 13, 2024, 6:38pm UTC](https://mne.discourse.group/t/error-when-setting-analyze-channels-using-mne-bids-pipeline/8134 "2024-03-13T18:38:39Z")

</div>

Hi everyone, I am using the mne bids pipeline to process my EEG (currently on a single subject for testing). I first ran the pipeline on all channels, which successfully completed. I then restricted the channels to anal…

---

## [Freesurfer error on mne-bids-pipeline](https://mne.discourse.group/t/freesurfer-error-on-mne-bids-pipeline/8423)

<div class="topic-metadata">

**Author:** [@robbisg](https://mne.discourse.group/u/robbisg)\
**Replies:** 2\
**Last updated:** [March 6, 2024, 10:04am UTC](https://mne.discourse.group/t/freesurfer-error-on-mne-bids-pipeline/8423 "2024-03-06T10:04:09Z")

</div>

Hi all, I tried the mne-bids-pipeline using the command mne\_bids\_pipeline --steps=freesurfer --config config.py. Freesurfer stops at : cd /media/robbis/DATA/meg/eeg\_project/bids/derivatives/mne-bids-pipeline/freesurf…

---

## [mne\_bids\_pipeline Output Dir](https://mne.discourse.group/t/mne-bids-pipeline-output-dir/8386)

<div class="topic-metadata">

**Author:** [@MaliaCataleya](https://mne.discourse.group/u/MaliaCataleya)\
**Replies:** 0\
**Last updated:** [February 24, 2024, 6:22pm UTC](https://mne.discourse.group/t/mne-bids-pipeline-output-dir/8386 "2024-02-24T18:22:06Z")

</div>

Hi there! We are experiencing problems when working with mne\_bids\_pipeline. So far we’ve followed this tutorial in order to set it up and use the pipeline for preprocessing. We are working with this dataset. The main…

---

## [MNE Pipeline Config where to set picks parameter](https://mne.discourse.group/t/mne-pipeline-config-where-to-set-picks-parameter/8021)

<div class="topic-metadata">

**Author:** [@randomfish](https://mne.discourse.group/u/randomfish)\
**Replies:** 2\
**Last updated:** [December 16, 2023, 9:34am UTC](https://mne.discourse.group/t/mne-pipeline-config-where-to-set-picks-parameter/8021 "2023-12-16T09:34:30Z")

</div>

MNE version: e.g. 1.5.1 mne-bids: 0.13 mne\_bids\_pipeline: 1.5.0 operating system: Ubuntu Hi, I configured the config.py for the mne bids pipeline and get the error: A critical error occurred. The error message was: p…

---

## [MNE-BIDS-Pipeline Maxwell filter reference run rank mismatch](https://mne.discourse.group/t/mne-bids-pipeline-maxwell-filter-reference-run-rank-mismatch/7144)

<div class="topic-metadata">

**Author:** [@allermat](https://mne.discourse.group/u/allermat)\
**Replies:** 8\
**Last updated:** [July 11, 2023, 2:55pm UTC](https://mne.discourse.group/t/mne-bids-pipeline-maxwell-filter-reference-run-rank-mismatch/7144 "2023-07-11T14:55:02Z")

</div>

Hi, I received an error when running the Maxwell filter step in the MNE-BIDS-Pipeline, saying that the rank of the data in the reference rune does not match the empty room data rank, see below: \[10:55:33\] │ ❌ preproces…

---

## [ICA rejection of eye-related components](https://mne.discourse.group/t/ica-rejection-of-eye-related-components/7203)

<div class="topic-metadata">

**Author:** [@lz4199](https://mne.discourse.group/u/lz4199)\
**Replies:** 0\
**Last updated:** [July 10, 2023, 12:53am UTC](https://mne.discourse.group/t/ica-rejection-of-eye-related-components/7203 "2023-07-10T00:53:29Z")

</div>

\-MNE version: 1.3.0 -Operating system: macOS-12.2.1 Hi! I am trying use the MNE BIDS pipeline to preprocess my data and am concerned something is off about the ICA part. When I look at the ICA report files for any of …

---

## [MNE-BIDS-Pipeline processing EEG separately in a combined MEEG dataset](https://mne.discourse.group/t/mne-bids-pipeline-processing-eeg-separately-in-a-combined-meeg-dataset/7145)

<div class="topic-metadata">

**Author:** [@allermat](https://mne.discourse.group/u/allermat)\
**Replies:** 2\
**Last updated:** [June 30, 2023, 1:36pm UTC](https://mne.discourse.group/t/mne-bids-pipeline-processing-eeg-separately-in-a-combined-meeg-dataset/7145 "2023-06-30T13:36:19Z")

</div>

Hi, I may have found another documentation issue, now related to processing EEG separately in a combined MEEG dataset. At the documentation of the data\_type option one of the examples says: “The dataset contains simult…

[Next page](https://mne.discourse.group/tag/mne-bids-pipeline/72.md?match_all_tags=true&page=1&tags%5B%5D=mne-bids-pipeline)
