Hi-
I have encountered 2 bugs in tutorial_epileptogenicity.m.
The first is trivial to fix: at line 81,
[DbMriFilePostReg, errMsg, fileTag, sMriPostReg] = mri_coregister(DbMriFilePost, DbMriFilePre, 'vox2ras', 0);
needs to be replaced with
[DbMriFilePostReg, errMsg, fileTag] = mri_coregister(DbMriFilePost, DbMriFilePre, 'vox2ras', 0);
The second is not (as) trivial. I get the following error when I run this script on a newly-downloaded tutorial_epimap folder:
spm crunching for a while... then
WARNING: Reduced file detected: There are discontinuities in the recordings
that cannot be handled correctly in Brainstorm.
The file is read linearly, as if there were not discontinuities.
The time for the first segment is correct, but not the following.
WARNING: Reduced file detected: There are discontinuities in the recordings
that cannot be handled correctly in Brainstorm.
The file is read linearly, as if there were not discontinuities.
The time for the first segment is correct, but not the following.
WARNING: Reduced file detected: There are discontinuities in the recordings
that cannot be handled correctly in Brainstorm.
The file is read linearly, as if there were not discontinuities.
The time for the first segment is correct, but not the following.
BST> bst_process: File indices changed, reloading files list...
BST> process_timefreq: Using 111 windows of 5120 samples each
BST> Emptying temporary directory...
BST> Block is too small #001: ignoring...
BST> Emptying temporary directory...
BST> Block is too small #001: ignoring...
BST> Emptying temporary directory...
BST> Block is too small #001: ignoring...
BST> Emptying temporary directory...
BST> Block is too small #001: ignoring...
BST> Emptying temporary directory...
BST> Block is too small #001: ignoring...
BST> Emptying temporary directory...
BST> Block is too small #001: ignoring...
Index exceeds the number of array elements. Index must not exceed 0.
Error in tutorial_epileptogenicity (line 230)
sFilesEpilepto1 = bst_process('CallProcess', 'process_epileptogenicity', sFilesBaselines(1), sFilesOnsets(1), ...
Thanks for your help!
Aaron