Scil evaluate bundles pairwise agreement measures.py

Hi,

I’m using the SCILPY tools to compare streamlines but the script trips on some .trk files e.g.

% scil_evaluate_bundles_pairwise_agreement_measures.py A.trk B.trk out.txt
ERROR:StatefulTractogram:Voxel space values lower than 0.0.
ValueError: Bounding box is not valid in voxel space, cannot load a valid file if some coordinates are invalid.
Please set bbox_valid_check to False and then use the function remove_invalid_streamlines to discard invalid streamlines.

Can anyone explain what I should do to enable this comparison to run, please?

With thanks,

Ryckie

Hi, did you solve the problem? I have the same error for some trk.