Hello Yuchuan,
Yes, this is a python 3 issue, if you are able to enable a python 2 version as the default python, this should solve this problem.
Kind Regards
Matthew
> Dear experts,
>
> I came across exactly same error message when I use "eddy_correct".
>
> Here is the error message:
> eddy_correct N046_Yr1_20160325_DTI_ax_raw.nii.gz DTI_ec 0
> File "/Applications/fsl-5.0.7/bin/imglob", line 78
> print "Usage: $0 [-extension/extensions] <list of names>"
> ^
> SyntaxError: Missing parentheses in call to 'print'
>
> 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
>
>
> Here is the result when I type python:
>
> Python 3.4.3 |Anaconda 2.2.0 (x86_64)| (default, Mar 6 2015, 12:07:41)
> [GCC 4.2.1 (Apple Inc. build 5577)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>
> Does it caused by using Python 3 instead of Python 2 by default while FSL functions works under Python 2? Thank you in advance for your advise!
>
>
> Sincerely,
> Yuchuan
|