Equally, if you have pasted the randomise command from a text editor like MS Word into a script or terminal window, it may have messed up some of the character formatting. It’s the “�” that makes me suspect it may be something like this.
Donal
On 1 Apr 2016, at 18:14, Hill, Donal <[log in to unmask]> wrote:
> Hi Maria,
>
> Are you copying the command into your terminal from another application? It may be (just my guess) that the “m” character that you paste is not recognised by the terminal correctly. Try typing “-m" by hand into the terminal if you aren’t already doing so.
>
> Cheers,
> Donal
>
>
> On 1 Apr 2016, at 17:46, Maria Tz. <[log in to unmask]> wrote:
>
>> Hi all!
>>
>> I am getting very weird error messages and cannot run randomise (not locally, not on a cluster). See following example:
>>
>> randomise -i all_FA_skeletonised.nii.gz -o Aw12_vs_Bw12_age_motion -d Aw12vsBw12_age_motion -t Aw12vsBw12_age_motion -m mean_FA_skeleton_mask.nii.gz -D --T2
>> -m: Missing non-optional argument!
>> try: randomise --help
>>
>> and
>>
>> randomise -i all_FA_skeletonised.nii.gz -o Aw12_vs_Bw12_age_motion -d Aw12vsBw12_age_motion.mat -t Aw12vsBw12_age_motion.con -f Aw12vsBw12_age_motion.fsf -m mean_FA_skeleton_mask.nii.gz -n 500 -D --T2
>> -�: Option doesn't exist!
>> try: randomise --help
>>
>>
>> What is the problem? Have you had anyone having issues like this before?
>>
>> Thank you for your help!
>>
>> Maria
>
|