-
Notifications
You must be signed in to change notification settings - Fork 37
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
FIX: Re-add cohort identifier to template name #416
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #416 +/- ##
===========================================
+ Coverage 61.63% 78.53% +16.89%
===========================================
Files 24 30 +6
Lines 1903 2073 +170
Branches 241 242 +1
===========================================
+ Hits 1173 1628 +455
+ Misses 702 413 -289
- Partials 28 32 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Looks good in general. Perhaps relying on the What do you think about |
TBH I don't love either option - at first I figured we could just add the |
Also rename variables to play nice with pdb
47089a6
to
5c7bd05
Compare
@effigies if you have a minute, would appreciate a review |
In that case, I believe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly LGTM.
Co-authored-by: Chris Markiewicz <effigies@gmail.com>
Is this considered a bugfix or a feature for versioning purposes? |
I consider it more of a bug fix to get |
Either way. We can go ahead and jump to fmriprep 24.0 if needed. |
Given that we're almost in Q2 of 2024 let's cut 24.0 |
0.14.0 (March 11, 2024) New feature release in the 0.14.x series. This release restores correct handling of cohort identifiers in templates. A feature release is warranted due to changes in the workflow structure. * FIX: Fetch templates during workflow construction (#418) * FIX: Re-add cohort identifier to template name (#416) * FIX: Repair FreeSurfer Dependency in Dockerfile (tcsh) (#404) * FIX: Invert result of skull-strip check in auto mode (#402) * STY: Adopt ruff for linting and formatting (#397) * CHORE: Update ruff, ignore certain rules (#419)
Fixes #415
We have been stripping out the cohort identifier in
split_desc
, and as a result losing the information when saving out transforms. This re-enables the output transforms to include the cohort information, i.e....from-MNIPediatricAsym+3_to-T1w_mode-image_xfm.h5
.However, this change exposes another problem:
collect_derivatives
cannot collect these transformations, as the currentBIDSLayout
configurations do not account for the+
character during parsing. Since BIDS derivatives conventions are still a bit murky, I figured we want to just create a modifiedfmriprep-derivatives
config to catch this convention when parsing.