[Mrtrix-discussion] tracks2prob error "expected exactly 2
arguments......"
Fernando Calamante
fercala at brain.org.au
Thu Apr 7 21:34:53 PDT 2011
Hi Jonathan,
I have a later version of track2prob but I think the problem is that you are
missing the "-template" option.
Try this to see if it works:
"tracks2prob cst_dt.tck -template anat.mif tract.mif"
i.e. you need to let tracks2prob know that "anat.mif" is the template, and
therefore "tract.mif" will be the output.
I hope this solves the problem.
Cheers,
Fernando
-------------------------------------------
*A/Prof. Fernando Calamante*
Florey Neuroscience Institutes
Brain Research Institute
Melbourne Brain Centre
245 Burgundy Street
Heidelberg
Victoria 3084
Australia
Phone: (+61 3) 9035 7041
Fax: (+61 3) 9035 7307
Email: fercala at brain.org.au
On Fri, Apr 8, 2011 at 2:41 AM, Ashmore, Jonathan <
jonathan.ashmore at kcl.ac.uk> wrote:
> Dear all,
> I am having problems running the tracks2prob command. I am running it as
> follows:
>
> "tracks2prob cst_dt.tck anat.mif tract.mif"
>
> and I get the following error:
>
> "expected exactly 2 arguments (3 supplied)"
>
> if I use the -version option I get
>
> "Mrtrix 0.2.9, glib 2.26.1, GSL 1.14, (build Mar 14 2011)"
>
> When I run exactly the same command with exactly the same files on an old
> version of mrtrix (I am not entirely sure how old since I don't have access
> to the system currently - but potentially over a year old) I do not get
> these errors and the tracks2prob command works fine.
>
> Could this be a problem with the latest build of MRtrix? Any help would be
> greatly appreciated
>
> Jonathan
>
>
>
>
> MRI Physicist
> Kings College Hospital
> Ruskin Wing
> Denmark Hill
> London SE5 9RS
> Ph (KCH): 020 3299 9000 (x4898)
> Ph (CNS): 020 3228 3081
> fax (CNS): 020 3228 2116_______________________________________________
> Mrtrix-discussion mailing list
> Mrtrix-discussion at www.nitrc.org
> http://www.nitrc.org/mailman/listinfo/mrtrix-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nitrc.org/pipermail/mrtrix-discussion/attachments/20110408/ed54655f/attachment.html
More information about the Mrtrix-discussion
mailing list