Do you maybe have illegal characters in your filenames, like spaces etc? Or maybe the files aren't valid NIFTI. Cheers. On 19 Mar 2009, at 18:43, Yapeng WANG wrote: > Hi FSLers, > when I did the eddy current correction, no matter I selected .img > files or or a single 4d > .nifti file in diffusion weighted data (my DTI data is from Philips > 3T, and I converted my > data into .img from .dcm through mriconvert, and into.nifti > from .dcm through > dcm2niigui), I got the "application error" reminder, and it showed > that"Error:Wrong # > args: should be 'ecc_u...'". What is reason for this? Following is > details of the error when > I selected nifti file: > > wrong # args: should be "ecc_update_files w filename" > wrong # args: should be "ecc_update_files w filename" > while executing > "ecc_update_files .fdt /Users/yapengwang/Documents/SILC/DTI data/CE > group/sub2/sub1.nii.gz" > ("eval" body line 1) > invoked from within > "eval "$command $outputfile1" " > (procedure "feat_file:invoke" line 29) > invoked from within > "feat_file:invoke .wdialog1 > eddy(input) .fdt.ecc.input.var_filhis .fdt.ecc.input.var_selhis > ::FileEntry {ecc_update_files .fdt}" > invoked from within > ".wdialog1.f4.but_ok invoke" > ("uplevel" body line 1) > invoked from within > "uplevel #0 [list $w invoke]" > (procedure "tk::ButtonUp" line 22) > invoked from within > "tk::ButtonUp .wdialog1.f4.but_ok" > (command bound to event) > --------------------------------------------------------------------------- Stephen M. Smith, Professor of Biomedical Engineering Associate Director, Oxford University FMRIB Centre FMRIB, JR Hospital, Headington, Oxford OX3 9DU, UK +44 (0) 1865 222726 (fax 222717) [log in to unmask] http://www.fmrib.ox.ac.uk/~steve ---------------------------------------------------------------------------