-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix the unique len issue #665
Conversation
Build Failed 💥 |
The error is because of something in Python3.10, this should be merged with PR #662 |
Build Failed 💥 |
Build Failed 💥 |
Build passed ! Good Job 🍻 ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok for me!
@@ -15,6 +15,7 @@ | |||
import os | |||
|
|||
import nibabel as nib | |||
import numpy as np |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@frheault quick fix and I merge + release.
Build passed ! Good Job 🍻 ! |
np.unique() was sorting the results and changing the length which was messing up the naming convention.
I discovered it while trying Tractoflow ABS and it was not working at ALL (the mask where all messed up).
I simply removed the np.unique() and now it is the job of the user to have a decent LUT