Re: [Freesurfer] Error long_mris_slopes

2016-10-29 Thread Martin Reuter
Hi Tom, 

Could be the qdec table has weird characters. 
Try with a simplified table (only a few rows, created in a text editor from 
scratch, space separated). 

best, Martin

> On Oct 12, 2016, at 11:59 PM, tom parker  wrote:
> 
> Dear FreeSurfers,
> 
> I've been trying to run a longitudinal cortical thickness analysis in 
> FreeSurfer but unfortunately, so far, it has not worked.
> 
> After preprocessing the data following the instructions from the tutorial, I 
> tried running:
> long_mris_slopes --qdec /Volumes/WD/Long/qdec/long.qdec.table.dat --meas 
> thickness --hemi lh --do-avg --do-rate --do-pc1 --do-spc --do-stack 
> --do-label --time years --qcache fsaverage --sd /Volumes/WD/Long/
> 
> And the following error came out:
> Parsing the qdec table: /Volumes/WD/Long/qdec/long.qdec.table.dat
> ERROR: qdec table /Volumes/WD/Long/qdec/long.qdec.table.dat not found or 
> empty?
> 
> The path is correct and there are no empty lines in the file.
> 
> When I ran:
> mris_preproc --debug --qdec-long qdec/long.qdec.table.dat
> 
> This comes out:
> set echo = 1 ;
> set debug = 1 ;
> set debug = 1
> breaksw
> breaksw
> 
> end
> end
> while ( $#argv != 0 )
> while ( 2 != 0 )
> 
> set flag = $argv[1] ; shift ;
> set flag = --qdec-long
> shift
> 
> switch ( $flag )
> switch ( --qdec-long )
> if ( $#argv == 0 ) goto arg1err ;
> if ( 1 == 0 ) goto arg1err
> set fsgdf = $argv[1] ; shift ;
> set fsgdf = qdec/long.qdec.table.dat
> shift
> if ( ! -e $fsgdf ) then
> if ( ! -e qdec/long.qdec.table.dat ) then
> echo "ERROR: cannot find $fsgdf" ;
> echo ERROR: cannot find qdec/long.qdec.table.dat
> ERROR: cannot find qdec/long.qdec.table.dat
> exit 1 ;
> exit 1
> 
> Do you have any idea why this is happening?
> 
> Thank you so much!
> 
> 
> ___
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

___
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.


[Freesurfer] Error long_mris_slopes

2016-10-12 Thread tom parker
Dear FreeSurfers,

I've been trying to run a longitudinal cortical thickness analysis in
FreeSurfer but unfortunately, so far, it has not worked.

After preprocessing the data following the instructions from the tutorial,
I tried running:
*long_mris_slopes --qdec /Volumes/WD/Long/qdec/long.qdec.table.dat --meas
thickness --hemi lh --do-avg --do-rate --do-pc1 --do-spc --do-stack
--do-label --time years --qcache fsaverage --sd /Volumes/WD/Long/*

And the following error came out:

*Parsing the qdec table: /Volumes/WD/Long/qdec/long.qdec.table.datERROR:
qdec table /Volumes/WD/Long/qdec/long.qdec.table.dat not found or empty?*

The path is correct and there are no empty lines in the file.

When I ran:
*mris_preproc --debug --qdec-long qdec/long.qdec.table.dat*

This comes out:




























*set echo = 1 ;set debug = 1 ;set debug = 1breakswbreakswendendwhile (
$#argv != 0 )while ( 2 != 0 )set flag = $argv[1] ; shift ;set flag =
--qdec-longshiftswitch ( $flag )switch ( --qdec-long )if ( $#argv == 0 )
goto arg1err ;if ( 1 == 0 ) goto arg1errset fsgdf = $argv[1] ; shift ;set
fsgdf = qdec/long.qdec.table.datshiftif ( ! -e $fsgdf ) thenif ( ! -e
qdec/long.qdec.table.dat ) thenecho "ERROR: cannot find $fsgdf" ;echo
ERROR: cannot find qdec/long.qdec.table.datERROR: cannot find
qdec/long.qdec.table.datexit 1 ;exit 1*

Do you have any idea why this is happening?

Thank you so much!
___
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.