Hi
I guess you’re missing the back-quotes around
`cat .filelist`
hth
Christian
On 22 Apr 2014, at 13:53, Broulidakis M.J. <[log in to unmask]> wrote:
> Dear FSL experts,
>
> Please can I have some help. I am having difficulty with Duel regression and I would be very grateful for any advice that can be provided.
>
> I am trying to preform dual regression on a mac using data contained on an external drive. I have used the command:
>
> dual_regression groupmelodic.ica/IC/melodic_IC_red0000.nii.gz 1 melodic.mat melodic.con 500 d_regression cat .filelist
>
> After executing it returns:
>
> /Applications/fsl/bin/dual_regression: line 125: [: too many arguments
> creating common mask
> wc: d_regression/scripts+logs/drA: open: No such file or directory
> doing the dual regressions
> wc: d_regression/scripts+logs/drC: open: No such file or directory
> sorting maps and running randomize
>
> The drB log returns:
> Usage: fslmerge <-x/y/z/t/a/tr> <output> <file1 file2 .......> [tr value in seconds]
> -t : concatenate images in time
> -x : concatenate images in the x direction
> -y : concatenate images in the y direction
> -z : concatenate images in the z direction
> -a : auto-choose: single slices -> volume, volumes -> 4D (time series)
> -tr : concatenate images in time and set the output image tr to the final option value
> Cannot open volume d_regression/maskALL for reading!
> logout
>
> [Process completed]
>
> I am not sure at all what seems to be going wrong! I have checked the permissions on the filtered_func_data.nii.gz and I have permission to read and write. I have also made sure python is installed at /usr/bin/python and I have checked and the file .filelist exists in my working directory. Once again if anyone has any ideas at all why the dual regression script is unable to execute successfully I would be very grateful.
>
> Best wishes,
>
> John
>
>
> --------------------
>
> John Broulidakis
> Developmental Brain-Behaviour Laboratory
> University of Southampton
|