Skip to content
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

Merged
merged 6 commits into from
Jan 23, 2023
Merged

Conversation

frheault
Copy link
Member

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

@arnaudbore
Copy link
Contributor

@frheault
Copy link
Member Author

The error is because of something in Python3.10, this should be merged with PR #662

@arnaudbore
Copy link
Contributor

@arnaudbore
Copy link
Contributor

@arnaudbore
Copy link
Contributor

Build passed ! Good Job 🍻 !

Copy link
Contributor

@EmmaRenauld EmmaRenauld left a 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this used?

Copy link
Contributor

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.

@arnaudbore
Copy link
Contributor

Build passed ! Good Job 🍻 !

@arnaudbore arnaudbore merged commit a172eef into scilus:master Jan 23, 2023
@frheault frheault deleted the fix_labels_split branch February 28, 2024 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants