Open
Description
When using a group grey matter template, it's possible that the mask cover voxels with no signal for a subject. In that case, the inverse transform function of NiftiMasker will fail.
Two potential solutions:
- fill
NaN
values in with zeros so when reconstructing the nifti, the voxel will be treated as background. - Skip this subject and keep with workflow running - if going for this option, this should also apply to other known issues (cosine and compcor labelling related issues)