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

ENH: Add PrepareDerivative/SaveDerivative interfaces #885

Merged
merged 7 commits into from
Jul 30, 2024

Conversation

effigies
Copy link
Member

These are intended to break DerivativesDataSink functionality into separable components and avoid unnecessary writes that cause invalidation of downstream nodes.

Tests forthcoming.

Copy link

codecov bot commented Jul 29, 2024

Codecov Report

Attention: Patch coverage is 97.08333% with 7 lines in your changes missing coverage. Please review.

Project coverage is 71.57%. Comparing base (99d482d) to head (8c14cbe).

Files Patch % Lines
niworkflows/interfaces/bids.py 96.02% 6 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #885      +/-   ##
==========================================
+ Coverage   70.95%   71.57%   +0.62%     
==========================================
  Files          87       87              
  Lines        8231     8437     +206     
  Branches      950      994      +44     
==========================================
+ Hits         5840     6039     +199     
- Misses       2384     2390       +6     
- Partials        7        8       +1     

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

Copy link
Contributor

@mgxd mgxd left a comment

Choose a reason for hiding this comment

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

Big fan of deconstructing the monolith

niworkflows/interfaces/bids.py Outdated Show resolved Hide resolved
niworkflows/interfaces/bids.py Outdated Show resolved Hide resolved
niworkflows/interfaces/bids.py Outdated Show resolved Hide resolved
These are intended to break DerivativesDataSink functionality into
separable components and avoid unnecessary writes that cause
invalidation of downstream nodes.
@effigies effigies force-pushed the rf/split-derivatives-datasink branch from 597f926 to 23e1bbc Compare July 29, 2024 20:19
effigies and others added 3 commits July 29, 2024 16:26
Co-authored-by: Mathias Goncalves <goncalves.mathias@gmail.com>
@effigies effigies force-pushed the rf/split-derivatives-datasink branch from 4489a68 to 8c14cbe Compare July 30, 2024 13:44
@effigies
Copy link
Member Author

@mgxd I think this is ready to go. I expanded the tests to check everything we were checking with DerivativesDataSink.

@mgxd
Copy link
Contributor

mgxd commented Jul 30, 2024

Yup, looks good to me!

@mgxd mgxd merged commit f765e53 into nipreps:master Jul 30, 2024
26 checks passed
@effigies effigies deleted the rf/split-derivatives-datasink branch July 30, 2024 14:30
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