-
Notifications
You must be signed in to change notification settings - Fork 532
fixes afni CenterMass bug #2214
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2214 +/- ##
=======================================
Coverage 72.29% 72.29%
=======================================
Files 1178 1178
Lines 58736 58736
Branches 8456 8456
=======================================
Hits 42466 42466
Misses 14898 14898
Partials 1372 1372
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #2214 +/- ##
========================================
Coverage ? 72.3%
========================================
Files ? 1178
Lines ? 58766
Branches ? 8457
========================================
Hits ? 42492
Misses ? 14901
Partials ? 1373
Continue to review full report at Codecov.
|
Does this have any effect on this logic? nipype/nipype/interfaces/afni/utils.py Lines 738 to 741 in 5526eed
In particular I'm wondering whether the second option should now be |
You are entirely right. In the basic case, only one centre of mass is computed, so there is only one line in the |
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.
This looks reasonable to me. If you wanted to go ahead and make cm
always be a list, that would simplify the code. The fact that this is the first time this is coming up suggests nobody's been depending on this single-line case up to now, so it would be a minor breakage.
But this PR fixes the issue without changing the API, so it's 👍 for merge from me.
Well actually |
Cool. Looks good to me. |
fixes #2213