Skip to content

Conversation

@tsalo
Copy link
Collaborator

@tsalo tsalo commented Aug 27, 2025

Closes #3511. I don't think I accounted for the versions of aseg and aparcaseg that get written out to the func directory, and I haven't thought about precomputed derivatives at all.

Changes proposed in this pull request

  • Add Freesurfer-related section from sMRIPrep's init_anat_preproc_wf to init_single_subject_wf

@tsalo tsalo added the bug label Aug 27, 2025
@tsalo tsalo changed the title Write out Freesurfer-derived outputs FIX: Write out Freesurfer-derived outputs Aug 27, 2025
Copy link
Member

@effigies effigies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likely we'll need to update the expected files for ds005. Otherwise looks good.

@codecov
Copy link

codecov bot commented Aug 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.61%. Comparing base (bef209a) to head (8cdb4ec).
⚠️ Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3512      +/-   ##
==========================================
+ Coverage   73.56%   73.61%   +0.05%     
==========================================
  Files          60       60              
  Lines        4600     4609       +9     
  Branches      585      586       +1     
==========================================
+ Hits         3384     3393       +9     
  Misses       1087     1087              
  Partials      129      129              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@effigies effigies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-fasttrack won't have desc-preproc in them.

Co-authored-by: Chris Markiewicz <[email protected]>
@tsalo
Copy link
Collaborator Author

tsalo commented Aug 28, 2025

@effigies thanks for correcting the outputs. It looks like everything's working.

This doesn't write out aseg and aparcaseg files to the func directory, so that might need to be addressed (maybe in a separate PR?). I also didn't try to collect precomputed derivatives. Not sure if that's a feature you had planned for these particular outputs though.

@tsalo tsalo marked this pull request as ready for review August 28, 2025 15:46
@effigies
Copy link
Member

This doesn't write out aseg and aparcaseg files to the func directory, so that might need to be addressed

If someone wants it, they can open a PR.

LGTM.

@effigies effigies merged commit 5e44d21 into nipreps:master Aug 29, 2025
21 checks passed
@tsalo tsalo deleted the aseg branch August 29, 2025 16:16
tsalo added a commit to PennLINC/aslprep that referenced this pull request Sep 16, 2025
effigies added a commit that referenced this pull request Oct 1, 2025
25.2.0 (October 01, 2025)

New feature release in the 25.2.x series.

This release is an *fMRIPrep Long-Term Support (LTS)* release.
The planned support window is 4 years, until October 2029.

This release is an incremental improvement over 25.1.x, but includes some fixes
and improvements that do not fit within our
`bug-fix policy <https://www.nipreps.org/devs/releases/#bug-fix-releases>`__.

Importantly, the change in interpolation in 25.1.0 introduced artifacts for some datasets.
This release changes the default interpolation mode to ``grid-constant``, which
resolves those problems while not reintroducing the issue the previous release sought to fix.

This release also (finally) introduces per-session processing.
The ``--session-label`` flag selects the sessions to process,
and the ``--subject-anatomical-reference`` flag indicates whether and how
to combine across sessions.
Existing filters passed via ``--bids-filter-file`` may need to be updated or
removed in favor of using these flags to achieve the desired behavior.

We would like to thank the AMP-SCZ and ENIGMA consortia for testing out and providing
feedback on this release.

  * FIX: Clean up output report language (#3529)
  * FIX: Default to grid-constant interpolation mode (#3516)
  * FIX: Adapt to transposed ndcoords in nitransforms (#3517)
  * FIX: Write out Freesurfer-derived outputs (#3512)
  * FIX: Add kwargs to _warnings.py (#3483)
  * ENH: Resample BOLD data to any surface template space using the Connectome Workbench (#3461)
  * ENH: Add boldref / sbref to source metadata (#3532)
  * ENH: Add dedicated session filtering, alternative anatomical template options (#3495)
  * ENH: Write out goodvoxels mask (#3513)
  * ENH: Add registration metadata to boldref-to-anat transforms (#3500)
  * ENH: Write out cortex mask GIFTIs (#3491)
  * ENH: Update transforms.py according to new transform chain of nitransforms (#3494)
  * RF/DOC: Improve and document command-line parser defaults (#3487)
  * DOC: Explain better SDC and B0FieldSource requirement (#2768)
  * DOC: Document `freesurfer` parameter in BOLD confound workflow init (#3504)
  * DOC: Add myself to contributor list (#3506)
  * DOC: Fix non-standard Input/Output docstring section management (#3505)
  * MNT: Split Dockerfile into base and pixi layers (#3521)
  * MNT: Replace conda with pixi and lock (#3503)
  * MNT: Update license metadata using SPDX expression (#3486)
  * MNT: no need to re-run `ruff check` after `ruff format` (#3480)
  * MNT: Update pre-commit ruff legacy alias (#3479)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aseg and aparcaseg images missing from derivatives

2 participants