Open mike21499 opened 7 years ago
Hi,
Have you managed to solve this? I am encountering the same problem. I guess we should change the code on spm_vol?
Thanks
Hi
I don't use SPM for data preparation, but in my case changing fMRIDataPreparation.m to
betaImage = niftiread(readPath);
solved the issue of being unable to load a .nii file.
Hi there
When using 'SPM' for data preparation, the current version only supports .img-files, so I get e.g the error:
Gathering scans. Reading beta volumes for subject number 1 of 1: P15Error using spm_vol>spm_vol_hdr (line 80) File "X:\directory\beta_0001.img" does not exist.
Where can I change the code so that it accepts e.g. "beta_0001.nii" ?
many thanks for help!