Hi,
In CONN 16a and 16b, we were getting a weird error in CONN when we input the vdm files in .nii using the PhaseMap pipeline without using the batch.
The error said it could not find an "fmfile" in conn_setup_preproc.m
After much tests, I went to the code and seems the error was in line 774.
773 - if isempty(tmfile), tmfile=spm_select(1,'^vdm.*',['SUBJECT ',num2str(nsubject),'SESSION ',num2str(nses),' Phase Map volume (vdm*)'],{tmfile},fileparts(ttemp{1})); end
774 - if isempty(tmfile),return;end
Seems the name "fmfile" was an error, instead I change it to "tmfile", and the unwarp ran without issues.
Hope this helps and it is a good correction.
Kind regards
Eduardo
In CONN 16a and 16b, we were getting a weird error in CONN when we input the vdm files in .nii using the PhaseMap pipeline without using the batch.
The error said it could not find an "fmfile" in conn_setup_preproc.m
After much tests, I went to the code and seems the error was in line 774.
773 - if isempty(tmfile), tmfile=spm_select(1,'^vdm.*',['SUBJECT ',num2str(nsubject),'SESSION ',num2str(nses),' Phase Map volume (vdm*)'],{tmfile},fileparts(ttemp{1})); end
774 - if isempty(tmfile),return;end
Seems the name "fmfile" was an error, instead I change it to "tmfile", and the unwarp ran without issues.
Hope this helps and it is a good correction.
Kind regards
Eduardo