scilus / scilpy

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

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

Closed AntoineTheb closed 8 months ago

AntoineTheb commented 9 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 8 months ago

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

AntoineTheb commented 8 months ago

Solved in #934