Closed MarioOcampo closed 3 years ago
When you say "the problem persists" you mean that the identity matrix is used as affine? I see that you added a warning, well done!
Yes, for TRK tractograms, if there is no mask or peaks image specified, it uses the identity as affine.
We should change the order of files that are searched for when looking for an affine, in the case of TCK. In fact, now, this order is different from the one done for TRK.
Create
dictionary_mask.nii.gz
anddictionary_tdi.nii.gz
with affine fromTCK_ref_image
for TCK tractograms.This PR fixes the problem for TCK tractograms. In the case of TRK, the problem persists if a
mask
orpeaks
file is not specified.