Hi Jonas,
I'm running a group analysis with 21 subjects (FLAME 1+2). I had a
look at the filtered_func_data, mask and the zstat files with fslinfo.
Could the error occur because dim3 doesn't match in mask and zstat?
$ fslinfo ../filtered_func_data.nii.gz
data_type FLOAT32
dim1 91
dim2 109
dim3 91
dim4 21 # number of individuals (2 groups of 9 resp. 12 individuals)
datatype 16
pixdim1 2.0000000000
pixdim2 2.0000000000
pixdim3 2.0000000000
pixdim4 1.0000000000
cal_max 0.0000
cal_min 0.0000
file_type NIFTI-1+
$ fslinfo zstat1
data_type FLOAT32
dim1 91
dim2 109
dim3 1
dim4 1 # contrast 1
datatype 16
pixdim1 2.0000000000
pixdim2 2.0000000000
pixdim3 2.0000000000
pixdim4 1.0000000000
cal_max 0.0000
cal_min 0.0000
file_type NIFTI-1+
$ fslinfo ../mask
data_type FLOAT32
dim1 91
dim2 109
dim3 91
dim4 1
datatype 16
pixdim1 2.0000000000
pixdim2 2.0000000000
pixdim3 2.0000000000
pixdim4 2.5099999905 # TR
cal_max 0.0000
cal_min 0.0000
file_type NIFTI-1+
Regards,
Benny
2012/9/21 Benny Liberg <[log in to unmask]>:
> Hi,
>
> Thanks Jonas. That worked fine. I ran a FLAME 1 analysis and results
> were fine. However, when I ran a FLAME 1+2 analysis I got the error
> message pasted below. Any thoughts of what may be the problem since
> this didn't happen in the FLAME 1 analysis?
>
> Regards,
> Benny
>
> --
>
> Post-stats
>
> /usr/local/fsl/bin/fslmaths stats/zstat1 -mas mask thresh_zstat1
> Image Exception : #3 :: Attempted to multiply images/ROIs of different sizes
> terminate called after throwing an instance of 'RBD_COMMON::BaseException'
> Image Exception : #22 :: ERROR: Could not open image thresh_zstat1
> while executing
> "if { [ catch {
>
>
>
> for { set argindex 1 } { $argindex < $argc } { incr argindex 1 } {
> switch -- [ lindex $argv $argindex ] {
>
> -I {
> incr argin..."
> (file "/usr/local/fsl/bin/feat" line 119)
>
>
>
>
>
> ______
>
> 2012/9/21 Jonas Kaplan <[log in to unmask]>:
>> See my message here:
>>
>> https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1209&L=fsl&P=R63566&1=fsl&9=A&J=on&d=No+Match%3BMatch%3BMatches&z=4
>>
>> Assuming this is the same problem (also on OSX, with the patch), I was able
>> to fix this problem by a small tweak to featregapply.
>>
>>
>>
>> On Fri, Sep 21, 2012 at 9:27 AM, Benny Liberg <[log in to unmask]>
>> wrote:
>>>
>>> Hi Wil,
>>>
>>> Currently running everything on OSX 10.6.8 Snow Leopard. Any ideas?
>>>
>>> Regards,
>>> Benny
>>>
>>> 2012/9/21 Wil Cunningham <[log in to unmask]>:
>>> > I am having the same error. I am using OS X Lion, and I have installed
>>> > the patch. What OS are you running?
>>> > Best,
>>> > Wil
>>
>>
|