yeatmanlab / AFQ

Automated Fiber Quantification
75 stars 52 forks source link

Value must be a 1x2 vector of numeric type in which the second element is larger than the first and may be Inf #28

Open soichih opened 6 years ago

soichih commented 6 years ago

I am running AFQ_run with following options.

sub_dirs = { [config.patient '/dti'], [config.control '/dti'] };
sub_group = [1, 0];
afq = AFQ_Create('sub_dirs', sub_dirs, 'sub_group', sub_group);
[afq patient_data control_data norms abn abnTracts] = AFQ_run(sub_dirs, sub_group, afq);

When I run this, it crashes (toward the end of processing?) with following error message.

...
dtiCleanFibers: Keeping 414737 out of 414779 fibers.
dtiSplitInterhemisphericFibers: Splitting every fiber below Z=-10 

Computing Tract Profiles for subject /mnt/scratch/testdata/dtiinit/./dtiError using matlab.graphics.axis.Axes/set
Value must be a 1x2 vector of numeric type in which the second element is larger than the first and may be Inf

Error in axis

Error in axis

Error in AFQ_plot (line 297)

Error in AFQ_run (line 366)

Error in main (line 35)

MATLAB:hg:shaped_arrays:LimitsWithInfsPredicate

Am I running this in a wrong way?