[Freesurfer] selxavg3-sess problem with -per-run flag

2013-03-29 Thread SHAHIN NASR
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
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


Re: [Freesurfer] selxavg3-sess problem with -per-run flag

2013-03-29 Thread Douglas N Greve
You have specified both -surface and -native which conflict with each 
other. In this case, it will use native space which forces it to use 
per-session (no way to avoid  this).
doug


On 03/29/2013 01:08 PM, SHAHIN NASR wrote:
 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 http://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


 ___
 Freesurfer mailing list
 Freesurfer@nmr.mgh.harvard.edu
 https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/

___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.