Error in projecting a volume onto cortical surface

Hello all, I was trying to project a volume onto cortical surface, but I got an error like this:

is there a solution to this problem? I have updated the brainstorm and nirstorm to the latest version, but it doesn’t work.

Thank you in advance for any help.

Thanks for the report. I will push a fix during the afternoon.

Hello,

Thanks again for the report. I pushed a fix here: [bugfix] fix volume projection error by Edouard2laire · Pull Request #294 · Nirstorm/nirstorm · GitHub

This should work after updating NIRSTORM.