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

...with dtiMakeDt6FromFsl.
In case a dt6 struct was passed in I want to reload it using load rather than dtiLoadDt6

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]
> 
> 
>