Hi,
I'm having problems running mkcontrast-sess. More information is shown further down, but the command I ran was: mkcontrast-sess -analysis EMerror -contrast AScvfix_6 -a 2 -c 0 -setwdelay 0 0 0 0 0 0 1 0 0 0 0 0
The error was "ERROR: Flag 1 unrecognized."
This is the same syntax I have used before, but it doesn't seem to work. Was there a change in mkcontrast's flags? Something else I don't realize I'm doing wrong?
Thanks, Rob
[levy@vantz ~]$ cd $SUBJECTS_DIR/ [levy@vantz SUBJECTS_DIR]$ pwd /space/ventzl/1/users/SUBJECTS_DIR [levy@vantz SUBJECTS_DIR]$ use_dev -------- freesurfer-Linux-centos4_x86_64-dev-20070703 -------- Setting up environment for FreeSurfer/FS-FAST (and FSL) FREESURFER_HOME /usr/local/freesurfer/dev FSFAST_HOME /usr/local/freesurfer/dev/fsfast FSF_OUTPUT_FORMAT nii SUBJECTS_DIR /space/ventzl/1/users/SUBJECTS_DIR MNI_DIR /usr/local/freesurfer/dev/mni FSL_DIR /usr/local/freesurfer/dev/fsl [vantz:SUBJECTS_DIR] (nmr-dev-env) echo "0 0 0 0 0 0 1 0 0 0 0 0" | mkcontrast-sess -analysis EMerror -contrast AScvfix_6 -a 2 -c 0 -setwdelay INFO: Found 12 Delays INFO: Found 4 Non-Null Conditions Condition Weights: 0 1.00000000000000000000 0 0 ################################### ### Enter 12 Delay Weights (Return) mkcontrast -anadir EMerror -wcond 0 1.00000000000000000000 0 0 -sumconds -o EMerror/AScvfix_6 1 -wdelay 0 0 0 0 0 0 1 0 0 0 0 0 -setwdelay $Id: mkcontrast,v 1.7 2007/06/13 01:02:48 greve Exp $ ERROR: Flag 1 unrecognized. -anadir EMerror -wcond 0 1.00000000000000000000 0 0 -sumconds -o EMerror/AScvfix_6 1 -wdelay 0 0 0 0 0 0 1 0 0 0 0 0 -setwdelay ERROR running mkcontrast mkcontrast -anadir EMerror -wcond 0 1.00000000000000000000 0 0 -sumconds -o EMerror/AScvfix_6 1 -wdelay 0 0 0 0 0 0 1 0 0 0 0 0 -setwdelay Tue Jul 3 13:22:50 EDT 2007 [vantz:SUBJECTS_DIR] (nmr-dev-env)
OK, should be fixed now, live in the next dev update. As a work-around for now, add -sumdelays *after* -setwdelay on the cmd line
doug
Robert Levy wrote:
Hi,
I'm having problems running mkcontrast-sess. More information is shown further down, but the command I ran was: mkcontrast-sess -analysis EMerror -contrast AScvfix_6 -a 2 -c 0 -setwdelay 0 0 0 0 0 0 1 0 0 0 0 0
The error was "ERROR: Flag 1 unrecognized."
This is the same syntax I have used before, but it doesn't seem to work. Was there a change in mkcontrast's flags? Something else I don't realize I'm doing wrong?
Thanks, Rob
[levy@vantz ~]$ cd $SUBJECTS_DIR/ [levy@vantz SUBJECTS_DIR]$ pwd /space/ventzl/1/users/SUBJECTS_DIR [levy@vantz SUBJECTS_DIR]$ use_dev -------- freesurfer-Linux-centos4_x86_64-dev-20070703 -------- Setting up environment for FreeSurfer/FS-FAST (and FSL) FREESURFER_HOME /usr/local/freesurfer/dev FSFAST_HOME /usr/local/freesurfer/dev/fsfast FSF_OUTPUT_FORMAT nii SUBJECTS_DIR /space/ventzl/1/users/SUBJECTS_DIR MNI_DIR /usr/local/freesurfer/dev/mni FSL_DIR /usr/local/freesurfer/dev/fsl [vantz:SUBJECTS_DIR] (nmr-dev-env) echo "0 0 0 0 0 0 1 0 0 0 0 0" | mkcontrast-sess -analysis EMerror -contrast AScvfix_6 -a 2 -c 0 -setwdelay INFO: Found 12 Delays INFO: Found 4 Non-Null Conditions Condition Weights: 0 1.00000000000000000000 0 0 ################################### ### Enter 12 Delay Weights (Return) mkcontrast -anadir EMerror -wcond 0 1.00000000000000000000 0 0 -sumconds -o EMerror/AScvfix_6 1 -wdelay 0 0 0 0 0 0 1 0 0 0 0 0 -setwdelay $Id: mkcontrast,v 1.7 2007/06/13 01:02:48 greve Exp $ ERROR: Flag 1 unrecognized. -anadir EMerror -wcond 0 1.00000000000000000000 0 0 -sumconds -o EMerror/AScvfix_6 1 -wdelay 0 0 0 0 0 0 1 0 0 0 0 0 -setwdelay ERROR running mkcontrast mkcontrast -anadir EMerror -wcond 0 1.00000000000000000000 0 0 -sumconds -o EMerror/AScvfix_6 1 -wdelay 0 0 0 0 0 0 1 0 0 0 0 0 -setwdelay Tue Jul 3 13:22:50 EDT 2007 [vantz:SUBJECTS_DIR] (nmr-dev-env)
freesurfer@nmr.mgh.harvard.edu