fMRIPrep - bad motion in last minute of task, motion outliers and compcor incorrect

I’ve run fmriprep on several participants/session. For one session of one person, there is very bad motion (max FD ~12) in the end of the scan.

As a result, fmriprep flags all volumes as outliers and compcor only has a single regressor.

Is there anything I can do to ‘save’ this data? E.g. could I remove the last about 1 minute from the data (as in deleting the volumes) and rerun fmriPrep?

Many thanks


It depends on what your goal is, but yes you can probably remove or just censor those volumes. Since it’s a task, you’d need to adjust your events files to account for the missing volumes.