Line 242 error when reslicing

I am working through the " SEEG epileptogenicity maps" tutorial. After successfully adding the pre implantation MRI, I have added 3DT1post_face file choosing YES for apply transformation, IGNORE for how to register volume, and YES for reslice. When clicking the last option, I consistently get an error as follows: "Line 242: Operands to the logical and (&&) and or (||) operators must be convertible to logical scalar values.
Call stack:

mri_reslice.m at 242
import_mri.m at 294
bst_call.m at 28
tree_callbacks.m>@(h,ev)bst_call(@imort_mri,iSubject,[],[],1) at 526"

I haven't done any changes to the filenames or content. Running on Matlab 2021b. Any insight? Thank you!

I introduced this bug a few days ago, while working on saving the coregistration matrices when aligning multiple volumes. I fixed it in this commit: Bugfix: Import and reslice volumes with multiple InitTransf · brainstorm-tools/brainstorm3@61f1a7b · GitHub

Please update Brainstorm and try again.

Thank you for detecting and reporting this bug.

1 Like