About bst_project_grid

Hello,

I would like to project a source grid to common space using the bst_project_grid function in server mode. However, I notice that if, instead of using the gui, I call the function from a script (such as sFiles = bst_project_grid(sFiles,[],0)) the progress bar stays forever in the screen showing 100% of projecting completed, and it never goes away. Is this a bug?

Thank you so much,

Fran

the progress bar stays forever in the screen showing 100% of projecting completed, and it never goes away

The function bst_project_grid calls many functions that may open a progress bar.
If you want to close the progress bar after the computation, simply add bst_progress('stop'); at the end of the script.

using the bst_project_grid function in server mode.

If you are starting Brainstorm with brainstorm server, you should not see any progress bar.
https://neuroimage.usc.edu/brainstorm/Tutorials/Scripting#Running_scripts_on_a_cluster

1 Like