Importing MRI from Freesurfer?

Dear Brainstorm experts,

I have problem importing Freesurfer result (perm.th30.abs.sig.voxel.mgh) files to Brainstorm. It is a permutation file. I got this message

Error: Line 1236: Matrix dimensions must agree.
**
** Call stack:
** >panel_surface.m>AddSurface at 1236
** >panel_surface.m at 40
** >view_mri.m at 204
** >import_mri.m at 414
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@import_mri,iSubject,[],[],1) at 565

Do you know how to fix this issue?

Thank you.

Kind regards,

Jacob

To be able to import this file in the Brainstorm database and visualize it, the volume should have the same dimensions as the T1.mgz file imported as the reference MRI in the subject anatomy folder.
If it does, I may have something to fix in the code to import it correctly.

Could you please share this file? Zip it together with the T1.mgz, upload it somewhere, and post the download link here (or to me as a private message)

What are you expecting to do with this file once imported in your Brainstorm database?