Bug in bst_project_grid.m

Dear Brainstorm,

When I used the code “bst_project_grid.m”, I found a possible bug in the line 88.
I think it should read something for displaying that error message.

However, in the present code, it gives us something wrong…
Please correct this command line and update for all of us.

Best,
BK Min

Hello BK Min,

As the error message at line 88 states, you need to have computed the MNI transformation on your subject's MRI before being able to use the bst_project_grid() function.

You can do so by switching the Brainstorm database to Anatomy mode, expanding the affected subject, right clicking on its MRI object and selecting "Compute MNI transformation". See screenshot below:

I hope this helps!
Martin