-
Notifications
You must be signed in to change notification settings - Fork 14
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
Write out GIFTI and CIFTI CBF maps #361
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #361 +/- ##
==========================================
+ Coverage 75.99% 78.81% +2.81%
==========================================
Files 39 39
Lines 4120 4149 +29
Branches 595 600 +5
==========================================
+ Hits 3131 3270 +139
+ Misses 791 685 -106
+ Partials 198 194 -4 ☔ View full report in Codecov by Sentry. |
("asl_file", "inputnode.bold_file"), | ||
("asl_anat", "inputnode.bold_file"), |
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.
I was feeding in the minimally-preprocessed aslref-space ASL file here, so the goodvoxels mask was in a different space and resolution than the anatomical-space data meant to be put in the CIFTI.
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.
This is what was causing #360 I believe.
@@ -565,6 +565,7 @@ def init_asl_wf( | |||
mem_gb=mem_gb, | |||
name="asl_anat_wf", | |||
) | |||
asl_anat_wf.inputs.inputnode.resolution = "native" |
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.
I was missing this, even though it is in fMRIPrep.
workflow.connect([ | ||
(inputnode, ds_asl_cifti, [ | ||
("asl_cifti", "in_file"), | ||
("source_files", "source_file"), |
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.
The datasinks needed the source_file input.
Closes #356.
Changes proposed in this pull request