♻️ Generalizing desc-ref_bold to desc-unifize_bold and fMRIprep style…#2180
Merged
♻️ Generalizing desc-ref_bold to desc-unifize_bold and fMRIprep style…#2180
Conversation
3 tasks
sgiavasis
requested changes
Mar 12, 2025
Collaborator
sgiavasis
left a comment
There was a problem hiding this comment.
Made a comment re: BIDS naming.
Also @shnizzedy - should we address the files marked by the linter in a separate PR or are these already resolved in another branch?
Member
If it's just a few lines, I think it's fine to include here. If it's a lot, I'd do a separate PR just so the real changes here are easy to see. |
sgiavasis
requested changes
Mar 13, 2025
Contributor
Author
|
Thanks for answering my questions, your review and suggestions. I have made the changes now. |
sgiavasis
approved these changes
Mar 14, 2025
Collaborator
sgiavasis
left a comment
There was a problem hiding this comment.
Looks good! Thanks @birajstha
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes
Related to #2173 by @sgiavasis
Description
Refactored the
FSL-AFNI subworkflowto improve modularity and ensuredesc-unifized_boldis correctly generated when needed. Updated thecoregistration_prep_fmriprepnodeblock to handle dependencies dynamically.Technical details
FSL-AFNI subworkflowfrom inside abold_mask_fsl_afninodeblock into a separate function.desc-ref_boldcreated in this workflow todesc-unifized_bold.coregistration_prep_fmriprepnodeblock now checks ifdesc-unifized_boldexists in the Resource Pool, if not it runs theFSL-AFNI subworkflowto create it.Tests
Run CPAC with preconfig
fmriprep-optionsand
change the config for func_masking to
FSLin thefmriprep-optionspreconfig and run this custom pipeline.Screenshots
I made a custom pipeline with
Before the fix

After the fix

Test config ran successfully after the fix.
Checklist
Update index.md).developbranch of the repository.Developer Certificate of Origin
Developer Certificate of Origin