Repository navigation
REL: 25.2.7 - #3695
Open
effigies wants to merge 4 commits into
Open
REL: 25.2.7#3695effigies wants to merge 4 commits into
effigies wants to merge 4 commits into
Conversation
=== Do not change lines below ===
{
"chain": [],
"cmd": "bash -c '! pixi lock --check || git checkout .'",
"exit": 0,
"extra_inputs": [],
"inputs": [
"pyproject.toml",
"pixi.lock"
],
"outputs": [
"pixi.lock"
],
"pwd": "."
}
^^^ Do not change lines above ^^^
=== Do not change lines below ===
{
"chain": [],
"cmd": "pixi update niworkflows",
"exit": 0,
"extra_inputs": [],
"inputs": [
"pyproject.toml",
"pixi.lock"
],
"outputs": [
"pixi.lock"
],
"pwd": "."
}
^^^ Do not change lines above ^^^
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## maint/25.2.x #3695 +/- ##
=============================================
Coverage 74.05% 74.05%
=============================================
Files 61 61
Lines 4925 4925
Branches 532 532
=============================================
Hits 3647 3647
Misses 1146 1146
Partials 132 132 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
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.
This is a small pull request to give time for some feedback on an upcoming release on the 25.2.x LTS series.
This branch can be tested from
docker://nipreps/fmriprep:25.2.7-rc1This has a change to one workflow step that has the potential to impact every dataset: nipreps/niworkflows#1064
The idea is that we have an average bold reference image resampled to MNI. We perform a simple affine registration so we can project the MNI brain mask onto our BOLD and run N4 bias field correction only within the mask. The registration happens in two stages, both affine (12-dof), with the first allowed to make larger moves while the second is refined. The problem we found in nipreps/niworkflows#1000 is that the initial affine could sometimes add large shear or scale components, resulting in a highly skewed mask that the second stage could not correct. The fix is to change the first step to rigid (6-dof), to avoid this edge case. The second affine step still has the additional degrees of freedom to account for differences in brain shape.
The mask that is generated is thrown away after this use; the only impact this has is on what voxels are in-scope to fit a bias field estimate.
cc @claraElk @HippocampusGirl Does this seem safe enough to you, or would you like to run your tests to confirm?