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

ENH: avoid kelly_kapowski returning GMP #561

Merged
merged 1 commit into from
Mar 13, 2024
Merged

ENH: avoid kelly_kapowski returning GMP #561

merged 1 commit into from
Mar 13, 2024

Conversation

cookpa
Copy link
Member

@cookpa cookpa commented Mar 11, 2024

If the library call to KellyKapowski goes wrong for any reason, the function kelly_kapowski returned a copy of the input gray matter image.

To avoid this, I initialized the output image to zeros, then added a check to raise an exception if the thickness image to be returned sums to zero.

@cookpa cookpa merged commit e78edc2 into master Mar 13, 2024
13 of 18 checks passed
@ncullen93 ncullen93 deleted the kk_error_check branch May 16, 2024 15:42
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