You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the previous versions it was possible to have precomputed anat smriprep output from another dataset being used for a fMRI-only dataset with anat fast-track (with the same participants of course). This is a critical feature for the neuromod dataset.
The full refactor did break that feature, as it run BIDSDataGrabber without passing anat_derivatives
it looks like it would be necessary to check that this cache is complete (likely using the smriprep io_spec.json) to be able to skip the need for T1w by setting bidssrc.inputs.anat_derivatives to anything but None.
Unless the anatomical_cache only needs to contain a minimally preprocessed T1w for the rest of the smriprep workflow to be able to run.
Before I try to fix that, @effigies am I missing anything in the whole fit/apply refactor that could cause it to break somewhere even after such minor changes?
Would that make sense to have an integration test that cover that use-case ( should be simple to implement, using existing test dataset, trying to run with anat fast-track after deleting the T1w from the source BIDS dataset)?
Re-enables the possibility to run fMRIPrep on a fMRI only dataset using anat derivatives from another (anatomical) dataset with the same participant.
Tries to implement integration test for that feature.
fixes#3201
related to #2201
tsalo
pushed a commit
to tsalo/fmriprep
that referenced
this issue
Feb 29, 2024
What happened?
In the previous versions it was possible to have precomputed anat smriprep output from another dataset being used for a fMRI-only dataset with anat fast-track (with the same participants of course). This is a critical feature for the neuromod dataset.
The full refactor did break that feature, as it run BIDSDataGrabber without passing
anat_derivatives
fmriprep/fmriprep/workflows/base.py
Lines 267 to 274 in de72651
raising:
FileNotFoundError: No T1w images found for subject sub-01
As it seems that
anatomical_cache
can be filled from multiple source derivative folders.fmriprep/fmriprep/workflows/base.py
Lines 250 to 263 in de72651
it looks like it would be necessary to check that this cache is complete (likely using the smriprep
io_spec.json
) to be able to skip the need for T1w by settingbidssrc.inputs.anat_derivatives
to anything but None.Unless the anatomical_cache only needs to contain a minimally preprocessed T1w for the rest of the smriprep workflow to be able to run.
Before I try to fix that, @effigies am I missing anything in the whole fit/apply refactor that could cause it to break somewhere even after such minor changes?
Would that make sense to have an integration test that cover that use-case ( should be simple to implement, using existing test dataset, trying to run with anat fast-track after deleting the T1w from the source BIDS dataset)?
What command did you use?
What version of fMRIPrep are you running?
23.2.0
How are you running fMRIPrep?
Singularity
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
FreeSurfer, Anatomical derivatives
Please copy and paste any relevant log output.
No response
Additional information / screenshots
No response
The text was updated successfully, but these errors were encountered: