-
Notifications
You must be signed in to change notification settings - Fork 26
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: Uniformize the grid&affine across EPI "blips" before TOPUP #197
Conversation
Hello @mgxd, Thank you for updating! Cheers! There are no style issues detected in this Pull Request. 🍻 To test for issues locally, Comment last updated at 2021-05-14 05:48:07 UTC |
cc9eef3
to
b8a9872
Compare
@oesteban when testing this branch, TOPUP is instantly failing with the following: command
It seems it doesn't like the |
Codecov Report
@@ Coverage Diff @@
## master #197 +/- ##
==========================================
+ Coverage 94.45% 96.59% +2.14%
==========================================
Files 23 23
Lines 1622 1645 +23
Branches 188 189 +1
==========================================
+ Hits 1532 1589 +57
+ Misses 61 30 -31
+ Partials 29 26 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
d02b869
to
31d54f3
Compare
@mgxd I'll be working on this until the meeting. |
I was able to track this down - turns out it was (like you suggested) a problem with the even/odd number of slices. |
dd2f93f
to
95d4157
Compare
Let's split the problem:
I've been thinking this through and I'm more convinced that we should use the reference workflow as input for the topup workflow. But, before that can be done, I guess we can just trust that inputs are roughly aligned - TOPUP will run head-motion internally anyways. So, I'm testing a simplification where we only add one node that ensures all volumes at the input have the same shape/affine at the output. |
The new tests also exercise the problems being addressed in nipreps#197.
The new tests also exercise the problems being addressed in nipreps#197.
The new tests also exercise the problems being addressed in nipreps#197.
The new tests also exercise the problems being addressed in nipreps#197.
The new tests also exercise the problems being addressed in nipreps#197.
The new tests also exercise the problems being addressed in nipreps#197.
545bcd3
to
372efb2
Compare
This commit is the result of squashing three previous commits: * WIP: Pepolar alignment workflow to ensure EPI "blips" are in register * ENH: EPI preproc workflow before TOPUP * STY: Black, move readout node to topup workflow and then rebasing on upstream/master.
372efb2
to
0bbbb6d
Compare
Seems like some pre-alignment is indeed necessary: https://3047-189236569-gh.circle-artifacts.com/0/tmp/tests/unittests/topup_ds001771/sdcflows/sub-36/figures/sub-36_desc-pepolar_fieldmap.svg |
a554c9b
to
a1491f1
Compare
a1491f1
to
d5bad78
Compare
d5bad78
to
38f30ca
Compare
Alignment is only necessary for debug settings as the topup config does not apply it. |
Codecov Report
@@ Coverage Diff @@
## master #197 +/- ##
==========================================
+ Coverage 89.72% 93.55% +3.82%
==========================================
Files 24 24
Lines 1645 1676 +31
Branches 193 193
==========================================
+ Hits 1476 1568 +92
+ Misses 142 81 -61
Partials 27 27
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Closes #192
Adds a preprocessing workflow for TOPUP's EPI files.
The workflow: