I am not familiar with these functions, but the authors are not available at the moment to work on their support.
I could try to help fixing this bug, but I would need some help from you to reproduce the error:
- Please share a short example file that causes this issue (as small as possible): upload it somewhere and post the download link here
- Post the step-by-step procedure for me to reproduce the error from the Brainstorm interface, starting from clicking on the menu "Review raw file"
Example of a recent debugging discussion regarding the same functions: