Hi Alistair, It seems to be bash command length restrict. please try cd /home/fsl/Desktop/baselinedata.gica/ first, then run dual_regression groupmelodic.ica/melodic_IC 1 /home/fsl/Desktop/baselinedata/design.mat /home/fsl/Desktop/baselinedata/design.con 1000 /home/fsl/Desktop/baselinedata/dualregr 'cat .filelist' Or try to loosen the restrict. Good luck On Tue, Sep 7, 2010 at 4:28 PM, Alistair Wardrope <[log in to unmask]> wrote: > Dear all, > > I have been attempting to perform some interim analysis on a resting-state fMRI study following the concat-ICA+dual regression method, but encounter the following error message when attempting to run dual_regression: > > /usr/local/fsl/bin/dual_regression: line 56: [: too many arguments > > The script continues to run, but then further generates: > > wc: /home/fsl/Desktop/baselinedata/dualregr/scripts+logs/drA: No such file or directory > wc: /home/fsl/Desktop/baselinedata/dualregr/scripts+logs/drC: No such file or directory > > The output folder contains nothing other than the (partial) scripts+logs folder. > The input I used was: > > dual_regression /home/fsl/Desktop/baselinedata.gica/groupmelodic.ica/melodic_IC 1 /home/fsl/Desktop/baselinedata/design.mat /home/fsl/Desktop/baselinedata/design.con 1000 /home/fsl/Desktop/baselinedata/dualregr 'cat /home/fsl/Desktop/baselinedata.gica/.filelist' > > I'm poking around with the script to see where I'm going wrong, but thought I'd ask in case there's something glaringly obvious that's amiss. > > Thanks for your time. > > Regards, > Alistair > -- Best Regards Xue, Feng Ph.D. Major in Developmental Cognitive Neuroscience National Key Laboratory of Cognitive Neuroscience and Learning Beijing Normal University Beijing, China. 100875 Tel: +86-13810154455 web: http://psychbrain.bnu.edu.cn ============================================== Welcome to MuDuo JinSheng BBS @ Beijing Normal University telnet://bbs.mdjs.org http://bbs.mdjs.org