-
Notifications
You must be signed in to change notification settings - Fork 308
ENH: Refactor of how spatial normalization targets and --output-spaces are maintained
#1955
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
Conversation
|
Thank your for raising your pull request. Some of the fMRIPRep maintainers will review your changes as soon as time permits. PR ReviewPlease check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
Please check what applies in the following aspects of the PR: Code documentation
Documentation site
Tests
Data
Dependencies: smriprep
Dependencies: niworkflows
Dependencies: sdcflows
Dependencies: Nipype
Dependencies: other
Reports generated within CI tests
|
--output-spaces are maintained--output-spaces are maintained
effigies
left a comment
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.
Doc issues.
0875723 to
9d37a44
Compare
--output-spaces are maintained--output-spaces are maintained
oesteban
left a comment
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.
Okay, getting there - this is coming along.
mgxd
left a comment
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.
Okay, this is coming together!
We'll have to add a brief line explaining only requested output spaces are produced here
https://github.com/poldracklab/fmriprep/blob/master/docs/outputs.rst#derivatives-of-fmriprep-preprocessed-data
I'll send a PR to your branch with some documentation updates
|
This PR interacts with several issues:
|
…r of anatomical iterables
… [skip ci] becuse they do exist now (addresses https://github.com/poldracklab/fmriprep/pull/1955/files#r375317164).
Co-Authored-By: Mathias Goncalves <[email protected]>
401a6a8 to
0474d10
Compare
Supersedes (and largely based on) #1915.
Distinguish user-defined
--output-spacesfrom internal intermediary stepsThis PR ensures that spaces not requested (i.e.
fsaverage5when running with freesurfer,fsLRsurfaces when using--cifti-output, etc) are not included in the final output.To do so, it utilizes the recently added infrastructure for
Spaces andSpatialReferences.To avoid name collisions of the outputs, it uses a hack on our current DerivativesDataSinks. Those will need to be revised with the BIDS-Derivs spec because
cohortandresappear at the end before the suffix (that's a side effect of the hack). But I guess this is better than not allowing it or rewriting silently.