-
Notifications
You must be signed in to change notification settings - Fork 52
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
BF: Ensure BOLD and label orientations are equal #477
Conversation
Best reviewed: commit by commit
Optimal code review plan (1 warning)
|
We were assuming the BOLD image and label image had a shared orientation niworkflows/niworkflows/interfaces/cifti.py Lines 364 to 370 in bfffaf8
However, this wasn't always the case - currently, the BOLD image is in RAS while the label image is in LAS. This adds a check to ensure the orientations match up, and if they don't, convert to LAS (HCP Pipelines default, although https://www.nitrc.org/forum/attachment.php?attachid=342&group_id=454&forum_id=1955 recommends RAS space). |
Codecov Report
@@ Coverage Diff @@
## maint/1.1.x #477 +/- ##
===============================================
+ Coverage 62.86% 62.93% +0.06%
===============================================
Files 41 41
Lines 4993 5005 +12
Branches 724 727 +3
===============================================
+ Hits 3139 3150 +11
- Misses 1703 1704 +1
Partials 151 151
Continue to review full report at Codecov.
|
any lingering concerns? I'd like to get this out as a 1.1.11 despite it changing the outputs, since it's more of a bug fix imo (cc @effigies) |
Seems reasonable. In the long-term a fully-featured reorientation interface would be good to publish in nipype, but no need to go that far in this context. |
* CLI changes from #2028 were ported to `parser.py` 20.0.4 (March 17, 2020) ======================= A bug-fix release improving documentation for filtering BIDS files and standardizing CIFTI volume orientation. With thanks to Ursula Tooley for the contribution. * DOC: FAQ section for BIDS filter (#2028) * FIX: Ensure BOLD and label orientations are equal (`nipreps/niworkflows#477`_). .. _`nipreps/niworkflows#477`: nipreps/niworkflows#477
No description provided.