added a new case to mrtrix_init.m to handle dt6 files that were created ...

...with dtiMakeDt6FromFsl.
We don't really have tests for this stuff, so I am wondering: did you run
it on your data? Does it work smoothly?

On Tue, Oct 7, 2014 at 2:00 PM, Ariel Rokem <arokem@gmail.com> wrote:

> Gotcha. Makes sense.
>
> On Tue, Oct 7, 2014 at 2:00 PM, Jason D. Yeatman <notifications@github.com
> > wrote:
>
>> In external/mrtrix/mrtrix_init.m:
>>
>> > @@ -51,6 +51,19 @@
>> >      dt_info = dt6;
>> >  end
>> >
>> > +% Check if it contains a path to the raw dwi data
>> > +if ~isfield(dt_info.files,'alignedDwRaw')
>> > +    % This code handles special case where the dt6.mat file was not created
>> > +    % using dtiInit. For example if dtiRawFitTensorMex was run directly
>> > +    dt_info = load(dt6);
>>
>> In case a dt6 struct was passed in I want to reload it using load rather
>> than dtiLoadDt6
>> … <#148ec6a3a4ad7e96_148ec6975ce809e4_>
>> On Tue, 7 Oct 2014, Ariel Rokem wrote: In external/mrtrix/mrtrix_init.m:
>> > @@ -51,6 +51,19 @@ > dt_info = dt6; > end > > +% Check if it contains a
>> path to the raw dwi data > +if ~isfield(dt_info.files,'alignedDwRaw') > + %
>> This code handles special case where the dt6.mat file was not created > + %
>> using dtiInit. For example if dtiRawFitTensorMex was run directly > +
>> dt_info = load(dt6); why are you loading dt6 here again? It's already being
>> loaded on line 49 — Reply to this email directly or view it
>> onGitHub.[1775818__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyODMzNDQwNiwiZGF0YSI6eyJpZCI6NDUwODY1MTd9fQ==--
>> c5e9b86443d0d30976ac2234da4a247f6295d9b4.gi f]
>>
>> —
>> Reply to this email directly or view it on GitHub
>> <https://github.com/vistalab/vistasoft/pull/117/files#r18548704>.
>>
>
>