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: Use simpler DWI reference workflow #1145
Conversation
Hello @yibeichan, Thank you for updating!
To test for issues locally, Comment last updated at 2023-09-25 17:59:53 UTC |
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. The main thing is that unrelated changes need to be reverted.
thank you! I revised it based on your review. One question, what is this
|
fMRIPrep uses a subclass of nipype's |
aha, it should be good now. I think there was something in my vscode that automatically created those line breaks.... |
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.
Looking good - my comments intend to (i) calculate the average only with low b volumes, which is critical; and (ii) preempt realignment of the low b volumes for a double reason (ii.a) the low b are realigned at a later step and (ii.b) because we don't have really good parameters for 3dVolreg
to work on DWIs.
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.
@oesteban Looking over your suggestions, I think there were a couple mistakes. Here are some updated suggestions.
okay, made some updates based on the reviews |
T1w test failure seems unrelated. |
Thanks for opening this pull request and congratulations for taking it to the finish line! It looks like this is your first time contributing to MRIQC. 😄 |
I've made the change to replace the reference node based on #1125 (thanks @effigies for the instruction). Here is what I did:
mriqc/workflows/diffusion/base.py
, just abovehmc_workflow
, named asinit_dmriref_wf
init_dmriref_wf
, because it's not used anywhere in the current contextdwi_reference_wf
dwi_reference_wf
in the workflow