QA (Quality Assessment) visualization error for brain mask in fMRIPrep

Summary of what happened:


Pictures of brainmasks in quality assessment html files from fmriprep are glitchy for several of our subjects, but the actual brainmasks look ok. It seems to be happening near the top of the brain. Why would this be happening, and is it a problem? Screenshot of the QA pasted below for reference. Thanks!

Command used (and if a helper script was used, a link to the helper script or the command generated):


Environment (Docker, Singularity, custom installation):

Data formatted according to a validatable standard? Please provide the output of the validator:

Relevant log outputs (up to 20 lines):

Screenshots / relevant information:

Hi @bhaktip and welcome to neurostars!

Please fill out the rest of the information requested by the post template (e.g. version, environment, etc).


It’s a minor visualization bug related to attempting to plot a contour where there is no data. It does not indicate a problem with your data or processing, it just robs you of a useful view of an axial slice. Annoying, but not worrisome.