Hello,
I cannot solve this problem.
I am using:
--Linux
--Matlab R2013b (8.2.0.701)
--SPM8, latest revision (5236)
--DPARSF V2.3 130615
--REST 1.8 130615
It seems to only happen when I am using the reorientation matrices (I am using the Cambridge fMRI set from Buckner, from the INDI project).
After the program processes the reorientation matrices, it gives me this error. (I do not get this error when I uncheck "reorientation matrices", instead, it works fine and processes slice timing.)
Error using fileparts (line 34)
Input must be a row vector of characters.
Error in spm_fileparts (line 17)
[pth,nam,ext] = fileparts(fname);
Error in spm_get_space (line 14)
[pth,nam,ext,num] = spm_fileparts(P);
Error in DPARSFA_run>(parfor body) (line 391)
OldMat = spm_get_space(FileList);
Error in DPARSFA_run (line 357)
parfor i=1:AutoDataProcessParameter.SubjectNum
Error in DPARSFA>pushbuttonRun_Callback (line 1601)
[Error]=DPARSFA_run(handles.Cfg);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in DPARSFA (line 33)
gui_mainfcn(gui_State, varargin{:});
Caused by:
Error using fileparts (line 34)
Input must be a row vector of characters.
Error while evaluating uicontrol Callback
Thank you for your help!
Thank you for your help!
Forums
Hi,
Hi,
Thanks very much for your report!
This is a bug whey applying downloaded mats to T1 image.
At the current stage, please revise Line 389 in DPARSFA_run.m
From:
FileList=[{[AutoDataProcessParameter.DataProcessDir,filesep,'T1Img',filesep,AutoDataProcessParameter.SubjectID{i},filesep,DirT1Img(1).name]}];
To:
FileList=[AutoDataProcessParameter.DataProcessDir,filesep,'T1Img',filesep,AutoDataProcessParameter.SubjectID{i},filesep,DirT1Img(1).name];
This will be fixed in the next release (expected in later Feb, hope we can make it :) )
Thanks,
Chao-Gan
Thank you! The fix works
Thank you! The fix works great!