Hi,
I used to run my mkanalysis-sess without indicating -per-run or -per-session, assuming that when I have pre-processed my files with -per-run flag then selxavg3-sess will do the same. But when I checked the analysis.info I noticed "PerSession 1" which I think it means system will use per-session preprocessing. So, this time I explicitly used -per-run in my mkanalysis-sess as below:
preproc-sess -s <SubjId> -per-run -fwhm 5 -fsd bold -fwhm 5 -surf self rhlh
mkanalysis-sess -analysis Reward.rh -surface self rh -native -fwhm 5 -paradigm Conds.par -event-related -polyfit 2 -gammafit 2.25 1.25 -mcextreg -TR 2.000 -nconditions 7 -refeventdur .10 -fsd bold -per-run -force
This time when I ran selxavg3-sess command I faced this error:
ERROR: cannot determine format of
/autofs/cluster/tootell/pitcairn/1/shahin/Reward/Subjects/limi1/bold/004/fmcpr.sm5
(MRIread)
Error in flac_customize (line 87)
mri = MRIread(fstem,1);
Error in fast_selxavg3 (line 65)
flac0 = flac_customize(flac0);
>> ------------------------------------------
ERROR: fast_selxavg3() failed\n
As I checked my subjects directory I had these files in /bold/004/ directory:
fmcpr.nii.gz
fmcpr.sm5.self.rh.nii.gz
fmcpr.sm5.self.lh.nii.gz
Notably, if I drop that -per-run flag from my mkanalysis-sess then system works without any problem. But then I am not sure whether I have processed my data in per-run or per-session mode.
Any help will be appreciated
Regards
--
Shahin Nasr
PhD in Cognitive Neuroscience
Martinos Imaging Center, MGH
Harvard Medical School