-
Notifications
You must be signed in to change notification settings - Fork 296
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
FIX: Update spline fitting distance for BOLD bias-field correction #1603
Conversation
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.
LGTM. Have you tried running it? If you're using fmriprep-docker
, you can use the -f
option to patch your repository into the image for testing.
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.
Very much appreciated. @markushs, do you want to add yourself to the .zenodo.json
file?
@effigies So I tried fmriprep-docker and the
However I get the following errors when running:
I assume this is due to my repository being a clone of the current "unstable" master which contains changes not reflected in fmriprep:1.3.2. I tried patching in the clone of the current niworkflows-master (using the Is there a quickfix for this? In the meantime I'll try running fmriprep-docker with |
Ah. Looks like you're going to need to patch in the latest niworkflows, as well. One of the hazards of splitting development across projects. You can use the |
Oh, this should work, too. |
@effigies Hi again, and sorry for pestering you, but new errors show up when running fmriprep:unstable, independent of whether I patch in the latest niworkflows or not.
I guess the current "unstable" master truly is unstable (at least until this one #1605 is merged)? |
I would recommend waiting on #1596 to be merged first. Have you thought of adding yourself to the zenodo file? |
That's strange... The current master should have been tested and not produce this issue. Possibly you need to |
The other thing you can do is just |
Hi @markushs, I think you can rebase to current master. The dependency issues should be resolved now. Some guidelines for the zenodo file are given here: #1564 (comment) |
So, I can finally confirm that all of the issues we reported in #1460 are gone after rerunning with the fix. And no new issues seem to appear (i.e., runs without issues before the fix still look fine). I ran the tests on a total of 42 runs from 6 participants. |
Ah, I should have just updated the zenodo in this branch. Ended up as a separate PR, sorry about that. |
Changes proposed in this pull request
Adding
-b [200]
as input to ants.N4BiasFieldCorrection inbold_bold_trans_wf/bold_reference_wf/enhance_and_skullstrip_bold_wf/n4_correct
.Previously, default setting (i.e., "single mesh element over the entire domain,
-b [1x1x1,3]
) was used. This seems to fix issues reported in #1460Documentation that should be reviewed
Not sure, but don't think docs need to be updated.