Closed mgxd closed 8 months ago
Attention: Patch coverage is 91.30435%
with 4 lines
in your changes are missing coverage. Please review.
Project coverage is 78.53%. Comparing base (
51da19b
) to head (a624b2a
).
Files | Patch % | Lines |
---|---|---|
smriprep/workflows/fit/registration.py | 33.33% | 4 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Looks good in general. Perhaps relying on the +
semantic is too risky. Since the proposal was done also including -
as allowed (and I believe also underscore), it will not fly anytime soon. And would honestly not will to try to get only +
accepted.
What do you think about from-MNIPediatricAsymCohort3
or, alternatively and potentially generating conflicts down the line, from-MNIPediatricAsym_to-T1w_desc-cohort3_xfm.h5
?
TBH I don't love either option - at first I figured we could just add the cohort-
entity directly, but that will clobber cases of inter-cohort xfms. IMO the +
seems to be the cleanest / least ambiguous...
@effigies if you have a minute, would appreciate a review
TBH I don't love either option - at first I figured we could just add the
cohort-
entity directly, but that will clobber cases of inter-cohort xfms. IMO the+
seems to be the cleanest / least ambiguous...
In that case, I believe space-
could be used: space-MNIPediatricAsym_from-cohort1_to-cohort2_xfm.h5
, but this honestly feels like a templateflow's issue, not a plausible output of sMRIPrep
Is this considered a bugfix or a feature for versioning purposes?
I consider it more of a bug fix to get cohort
processing / --derivatives
working, as the changes will really only affect those cases. But this will invalidate the cache starting from the fit.registration
workflow so maybe worth a minor bump?
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
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.