scilus / scilpy

The Sherbrooke Connectivity Imaging Lab (SCIL) Python dMRI processing toolbox
Other
54 stars 59 forks source link

BUG: `scil_tractogram_commit.py` crashes without a mask #932

Closed AntoineTheb closed 4 months ago

AntoineTheb commented 4 months ago

scil_tractogram_commit.py crashes if the argument --in_tracking_mask is not passed:

Screenshot from 2024-03-04 16-59-14

The uninitialized variable is named 'niiMASK', which could be an indicator to the source of the problem. The stack trace points to code inside of commit, not scilpy, so the issue might be with commit itself.

arnaudbore commented 4 months ago

works like a charm with newest version of dmri-commit I will suggest a PR.

AntoineTheb commented 4 months ago

Solved in #934