Repository navigation
Conversation
Without --output-spaces, QSIPrep 26.2 wrote only acpc:res-nativemin, so no template transforms were written. QSIRecon needs the MNI152NLin2009cAsym transforms for atlases, template_map nodes and its ODF report figures, and stopped or dropped them on default outputs. The default is now "acpc:res-nativemin MNI152NLin2009cAsym", with the template on its own field of view at the anatomical's voxel size and no res- entity. --infant still adds MNIInfant:cohort-auto, beside the adult template. An explicit --output-spaces still replaces the whole default.
2 of 4 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1217 +/- ##
=======================================
Coverage 74.08% 74.08%
=======================================
Files 90 90
Lines 15970 15972 +2
Branches 1990 1990
=======================================
+ Hits 11831 11833 +2
Misses 3779 3779
Partials 360 360 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Changes proposed in this pull request
Without
--output-spaces, QSIPrep 26.2 writes onlyacpc:res-nativemin, so it writes no template transforms (#1127, #1205). QSIRecon needs theMNI152NLin2009cAsymtransforms: on default QSIPrep outputs it stops the build for--atlasesand for everytemplate_mapnode (the built-inabcd_recon,hbcd_scalar_maps,ss3t_fod_autotrackandtest_scalar_mapsspecs), and silently leaves the ODF figures out of its reports. PennLINC/qsirecon#439 makes QSIRecon's error say so.--output-spaces acpc:res-nativemin MNI152NLin2009cAsym(DEFAULT_OUTPUT_SPACESinqsiprep/utils/spaces.py). The template is listed without a resolution, so its anatomicals are written on the template's field of view at the anatomical's own voxel size, with nores-entity, and thefrom-ACPC_to-MNI152NLin2009cAsym/from-MNI152NLin2009cAsym_to-ACPCtransforms are written. This brings back the anatomical nonlinear normalization that default runs skipped in 26.2.--infantis unchanged: it addsMNIInfant:cohort-autowhen no infant template is listed, so an infant run without--output-spacesnow writes both the adult and the infant transforms, and MNIInfant still anchors AC-PC alignment.--output-spacesreplaces the whole default, as before.--output-spaces acpc:res-2mmstill writes no template and skips the normalization (unless fieldmap-less SDC needs it).DEFAULT_ANCHORnow refers to the sameDEFAULT_TEMPLATEconstant.Testing
qsiprep/tests/test_utils_spaces.py: the default,--infantwithout--output-spaces, an explicit list without a template, andconfig.workflow.parsed_output_spaces().Documentation that should be reviewed
docs/running.rst, "Output spaces and resolutions": the new default, how--infantadds to it, and that an explicit list replaces it.docs/upgrading.rst: the--output-spacesentry and the "Output resolution" behavior change.Use of LLM tools
Required: check exactly one option. A CI check fails until exactly one box is checked.
Required: check the below if and only if you are a human. Contributions from bot accounts will not be accepted.
A CI check fails if this box is not checked.
🤖 Generated with Claude Code