Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

nilearn.datasets.patch_openneuro_dataset#

nilearn.datasets.patch_openneuro_dataset(file_list)[source]#

Add symlinks for files not named according to BIDS conventions.

Warning

This function uses a series of hardcoded patterns to generate the corrected filenames. These patterns are not comprehensive and this function is not guaranteed to produce BIDS-compliant files.

Parameters
file_listlist of str

A list of filenames to update.