nipreps / fmripost-aroma

Run ICA-AROMA on fMRIPrep derivatives
https://fmripost-aroma.readthedocs.io/
Apache License 2.0
7 stars 1 forks source link

Revisit collection of anatomical dseg file #62

Closed tsalo closed 1 week ago

tsalo commented 1 month ago

We need to collect the anatomical dseg file for a registration plot, but collect_derivatives looks for the anatomical dseg based on entities from the functional file, which is suboptimal.

tsalo commented 1 month ago

I see (part of) the problem. I'm only using the functional cache in the single-run workflow. I should probably build an anatomical cache in the subject workflow first.

tsalo commented 1 week ago

I just stumbled on this when trying to process ds005250 (the BOLD files have acq and part entities). I think the best approach might be to collect the preprocessed anatomical image to start with.

EDIT: Would the easiest thing be to split up collect_derivatives into collect_func_derivatives and collect_anat_derivatives?