help > fmriprep import scrubbing files error
Dec 4, 2024  09:12 PM | Nam Kap
fmriprep import scrubbing files error

Hello, 


I’m having some trouble importing fMRIPrep preprocessed data into CONN and was hoping someone could help. Here are the issues I’m running into:


1) Scrubbing Variable:
When I import the dataset, the scrubbing variables for some sessions are way off. For example the maximum value for my scrubbing varialbles across all subjects and sessions is about 50-60, but in CONN, I see values like [488 240] for some of the sessions. When I load the timeseries file using the command from this post: https://www.nitrc.org/forum/message.php?... my output looks fine: 


struct with fields: global_signal: [488×1 double] global_signal_derivative1: [488×1 double] global_signal_derivative1_power2: [488×1 double] ..........


I also tried uploading the *_bold.scrubbing.mat files instead of the _bold.QC_timeseries.mat files, but that only worked for some participants and didn’t solve the issue for others. The excessive values (like [240]) are only happening in 1-2 sessions per subject out of the total 6 sessions. The scrubbing.mat files actually shows the correct number but as I said, when imported, those files again start showing values ranging from 150-240. I also tried deleting any hidden files if they were present but still can't seem to resolve this issue.


2) Missing Files During Import:
When importing the fMRIPrep folder, not all the files are being recognized for two of my subjects. For one subject only 5 functional runs are being imported even though there are 6. Similarly, for another subject, only 4 out of 6 .mat files for first level covariates are being imported. I have checked the folders, re-added the files, and still the issue is occuring. 


3) Is there a batch option to import fmriprep dataset into conn?


Thanks!!