Skip to content
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

ADD: Make template dimensions support T2w as well #879

Merged
merged 3 commits into from
Jul 25, 2024

Conversation

mgxd
Copy link
Contributor

@mgxd mgxd commented Jul 18, 2024

Adds new fields to TemplateDimensions iospecs to output a cleaner report if a T2w image was used.

For backwards compatibility, the hardcoded t1w_* fields have been left in (as deprecated). They will be removed in a later release (1.14.0)

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.

Looks reasonable. Assume there'll be a nibabies PR that depends on this? I can make a quick smriprep one if you aren't already doing that.

@mgxd
Copy link
Contributor Author

mgxd commented Jul 18, 2024

Yup, the fit-apply branch - yes, please feel free and thanks!

Copy link

codecov bot commented Jul 18, 2024

Codecov Report

Attention: Patch coverage is 96.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 70.97%. Comparing base (1dc0327) to head (785c40f).

Files Patch % Lines
niworkflows/interfaces/images.py 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #879      +/-   ##
==========================================
+ Coverage   70.54%   70.97%   +0.42%     
==========================================
  Files          87       87              
  Lines        8202     8230      +28     
  Branches      949      950       +1     
==========================================
+ Hits         5786     5841      +55     
+ Misses       2409     2382      -27     
  Partials        7        7              

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

@effigies
Copy link
Member

@mgxd Please review test and changes.

@mgxd mgxd merged commit a744a53 into nipreps:master Jul 25, 2024
27 checks passed
@mgxd mgxd deleted the add/t2w-template-dim branch July 25, 2024 19:05
mgxd added a commit that referenced this pull request Jul 31, 2024
1.11.0 (July 31, 2024)

New minor release to start the 1.11.x series.

The major changes include:
- a deprecation to T1w-only based template processing
- addition of a new dependency ``acres`` for accessing package data

However, this is still backwards compatible with the 1.10.x series.

* MAINT: Depend on acres for data access
* ENH: Add PrepareDerivative/SaveDerivative interfaces (#885)
* ENH: Make template dimensions support T2w as well (#879)
* ENH: Modify FSSource to output T2 (#868)
* FIX: Set cal_max in the NIfTI header for visualization after ``IntensityClip`` (#878)
* FIX: Remove accidental MRIQC dependency, allow app config to be passed to workflow plugin (#876)
* TEST: Fix plugin invocation, use an initializer that can be verified (#880)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants