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

[REF] Labels <0 are set to 0 #1

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

rmarkello
Copy link
Member

This will only impact usage of images.annot_to_gifti() and images.relabel_gifti(), wherein users providing annotation and/or gifti files that have negative labels will find those labels are automatically set to the background value (0). Because, honestly, who uses negative labels? 🧐

Will try and create tests for the impacted functions (since none exist right now!).

Who uses negative labels anyways?
@rmarkello rmarkello merged commit e6f678c into netneurolab:main Jun 29, 2021
@rmarkello rmarkello deleted the fix/relabel_gifti branch June 29, 2021 15:10
github-actions bot pushed a commit that referenced this pull request Jun 29, 2021
github-actions bot pushed a commit to rmarkello/neuromaps that referenced this pull request Jun 29, 2021
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.

1 participant