-
Notifications
You must be signed in to change notification settings - Fork 530
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: added Apply VDM functionality to FieldMap SPM interface #3394
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3394 +/- ##
==========================================
- Coverage 65.21% 65.20% -0.02%
==========================================
Files 307 307
Lines 40413 40457 +44
Branches 5344 5350 +6
==========================================
+ Hits 26356 26379 +23
- Misses 12982 13003 +21
Partials 1075 1075
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Since this is an old, tiny pull request and it already fell into oblivion once, since it seems to me that all tests are passed, I would be grateful if it could be considered quickly. |
It looks like many unrelated files got changed. You may need to update |
Sorry about that, I do not know how it happened but I am trying to revert
the changes.
Il giorno mar 19 ott 2021 alle ore 17:14 Chris Markiewicz <
***@***.***> ha scritto:
… It looks like many unrelated files got changed. You may need to update
black in your environment.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3394 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEYRZ3PHPR7OXEU4QNNQ2ETUHWDNJANCNFSM5GJFJRWQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
Dr. Fabio Bernardoni
Prießnitzstr. 54
01099 Dresden
+49 176 9947 0149
|
So after reverting some changes and rerunning the tests I think my commit is ready to be accepted. |
Had a quick look, and I think we need to make this a new interface, not an update to the existing one. This changes its behavior too much, disabling mandatory inputs and making new inputs mandatory. You could do some fancy things with making inputs conditionally mandatory, but it would probably be simpler to just make it an |
I implemented the nipype class as an interface to the FieldMap SPM toolbox, which performs 2- have two interfaces, FieldMap and ApplyVDM. Leave FieldMap as it was (except removing the jobtype argument) and add ApplyVDM ? |
This commit implements solution 2 above. |
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.
Overall looks good. Thanks for pushing ahead with option 2, that would have been my suggestion.
* added applyVDM interface to __init__.py file
I have implemented the suggestions above and edited the init file, so from my side all is ready for acceptance. |
Co-authored-by: Chris Markiewicz <[email protected]>
Looks good! Thanks for your patience. |
[FIX] small edits to my previous pull request (PR #3394) due to bugs revealed when running within my nipype workflow
This pull request substitutes an old one:
ENH/WIP: added Apply VDM functionality to FieldMap SPM interface #2879
I only adapted what was done there to the present nipype version.
This allows to apply a VDM directly to functional images to correct for inhomogeneities of the magnetic field. At the moment this could be performed by the realign&unwarp spm interface, which also corrects for artefacts derived by interactions between subject movement and inhomogeneities of the magnetic field. However, if one wishes to perform slice timing and realign correction in one step, using the SpaceTimeRealigner nipy module, this requires the field map correction to be executed independently from the realignment.
This was also a TODO item for issue:
[ENH/WIP] Add SPM Fieldmap Tool wrapper #1905
Acknowledgment