Step 3 — MEG BIDS Conversion¶
At Salzburg, the MEG BIDS conversion is handled by Andreas Huttegger. You do not run the pipeline yourself — instead, you share your .fif files with him and he will run the conversion and push the result to your dataset project.
What to do after acquisition¶
- Make sure your
.fiffiles follow the required naming convention and that your.meg_conversion_config.ymlis complete and correct in your dataset project. - Contact Andreas Huttegger and share the
.fiffiles with him. - He will run the MEG BIDS conversion pipeline, which converts your files to BIDS format, extracts events from the trigger channels, and opens a merge request in your dataset project.
How the pipeline works¶
Technical details — what the conversion pipeline does
For each .fif file, the pipeline:
- Parses the filename to extract subject, session, task, and run
- Checks whether that participant's data already exists in the dataset (skips if found)
- Converts the
.fifto BIDS format using MNE-BIDS - Reads trigger codes from channels
STI001–STI008and maps them to event labels using yourconfig.yaml - Writes a BIDS-compliant
events.tsvfile - Creates a feature branch
add-subject-sub-<ID>-run-<run>in your dataset project - Opens a merge request for review
- Uploads all files via Git LFS
The pipeline source code is available at gitlab.com/austrian-neurocloud/software/meg-conversion.