Conversation
Co-authored-by: Jon Cluce <jon.clucas@childmind.org>
|
@shnizzedy , I havent't checked running freesurfer in the pipeline but, we should probably do that as well. |
I think if we're doing it in both places, we should abstract it to its own node or nodeblock that's included in both flows. |
| # reorient *.mgz | ||
| if outfile.endswith(".mgz"): |
There was a problem hiding this comment.
Good question ! It looks like all pipeline-fs_hemi* are not used in CPAC but are only ingressed.
I am not sure about pipeline-fs_xfm. It probably needs reorient/resample as well.
I will loop in @sgiavasis here for further clarification.
Steve, do we need to resample this xfm?

There was a problem hiding this comment.
We've had extensive conversation on this off of GitHub, but going forward from here, let's resolve whatever requested changes there are and merge this.
For the reorient for running Freesurfer as part of the C-PAC pipeline, let's open a separate but related PR for it, as it will be an extension of this one but different.
I'd like to get some runs going with this change for now (since it will be ingressed).
There was a problem hiding this comment.
So reorienting only .mgz files.
shnizzedy
left a comment
There was a problem hiding this comment.
So reorienting only .mgz files.
https://github.com/FCP-INDI/C-PAC/pull/2199/files#r2035560042
If that's what we're doing, then I think this PR's good to go.
|
Thanks for the review. I also added #2208 to follow up with your comment on adding reorientation to the FS outputs when ran natively with CPAC. |


Fixes
Fixes #2200 by @birajstha
related to #2193 by @tamsinrogers
Alignment issues during applying mask ingressed from Freesurfer outputs.

Description
Resources from ingress_freesurfer are skipping reorient and are used directly like in here.
This causes the files ingressed to have different orientation and is incompatible with rest of the data causing alignment issues such as above.
This PR solves the above issue by aligning the ingressed resources to common orientation.
Technical details
Tests
Screenshots
After the fix

Checklist
Update index.md).developbranch of the repository.Developer Certificate of Origin
Developer Certificate of Origin