Yep - this all looks fine - and what did $thevals contain? Cheers. On Fri, 9 Dec 2005, Miller, Saul wrote: > Thanks for your help. Below is the output of the commands you requested. > > > avwinfo stats/pe2.hdr -r -R > > dim1 128 > dim2 20 > dim3 128 > dim4 1 > datatype 16 > pixdim1 -2.0000000000 > pixdim2 2.0000000000 > pixdim3 2.0000000000 > pixdim4 0.0000000000 > cal_max 2618.0000 > cal_min 0.0000 > glmax 0 > glmin 0 > origin1 128 > origin2 182 > origin3 20 > file_type ANALYZE-7.5 > > avwinfo example_func.hdr -r -R > > dim1 128 > dim2 20 > dim3 128 > dim4 1 > datatype 16 > pixdim1 -2.0000000000 > pixdim2 2.0000000000 > pixdim3 2.0000000000 > pixdim4 2.0000000000 > cal_max 2618.0000 > cal_min 0.0000 > glmax 0 > glmin 0 > origin1 128 > origin2 182 > origin3 20 > file_type ANALYZE-7.5 > > avwstats++ stats/pe2.hdr -r -R > > -85.311234 148.591736 -3625.955322 1350.703735 > > avwstats++ example_func.hdr -r -R > > 0.000000 992.935974 0.000000 2533.000000 > > > > > > -----Original Message----- > From: FSL - FMRIB's Software Library [mailto:[log in to unmask]]On > Behalf Of Stephen Smith > Sent: Friday, December 09, 2005 10:33 AM > To: [log in to unmask] > Subject: Re: [FSL] Featquery error > > > Hi - the featquery call looks valid; it seems that either something is > wrong with the > /space/elvin/1/users/hires_hippo/FSL/HRFN04/analysis/boldenc01.feat/stats/pe2 > image or the > /space/elvin/1/users/hires_hippo/FSL/HRFN04/analysis/boldenc01.feat/example_func > .hdr > image. Could you run avwinfo and avwstats++ <im> -r -R on each of these. > > Also, you could edit $FSLDIR/bin/featquery and after the > catch { exec sh -c "${FSLDIR}/bin/avwstats++ .... > line insert > puts "$thevals" > and see what output it gives. > > Cheers, Steve. > > > > On Fri, 9 Dec 2005, Saul Miller wrote: > > > Hi, > > I've tried to run Featquery on several different sets of data, but I keep > > getting the same error every time. I'm not quite sure what this error is > > refering to, so I'm not sure what to change. The error is below. Any help > > would be appreciated. Thank you. > > -Saul > > > > /usr/pubsw/packages/fsl/current/bin/featquery > > 1 /space/elvin/1/users/hires_hippo/FSL/HRFN04/analysis/boldenc01.feat 1 > > stats/pe2 /space/elvin/1/users/hires_hippo/FSL/HRFN04/analysis/boldenc01.fea > > t/example_func.hdr > > expected floating-point number but got "Image" > > while executing > > "format %.2f $perc10 " > > ("foreach" body line 120) > > invoked from within > > "foreach spaces { example_func highres standard } { > > > > if { $matchmask == 0 && [ imtest reg/$spaces ] && > > $maskdimx == [ exec sh -c "$FSLDIR/bin/avw..." > > ("for" body line 75) > > invoked from within > > "for { set f 1 } { $f <= $featquery(multiple) } { incr f 1 } { > > > > #{{{ setup output dir and logging etc. > > > > set mask $origmask > > > > cd [ lindex $argv $f ] > > ..." > > (file "/usr/pubsw/packages/fsl/current/bin/featquery" line 152) > > > > -- Stephen M. Smith DPhil Associate Director, FMRIB and Analysis Research Coordinator Oxford University Centre for Functional MRI of the Brain John Radcliffe Hospital, Headington, Oxford OX3 9DU, UK +44 (0) 1865 222726 (fax 222717) [log in to unmask] http://www.fmrib.ox.ac.uk/~steve