By default, fMRIPrep averages anatomical images across sessions. However, there may be some situations in which the preprocessing pipeline produces session-wise anatomical data (e.g., #1090, longitudinal studies like HBCD).
Additional details
The longitudinal pipeline requires session-level anatomical derivatives. It's possible that we could automatically configure the pipeline based on the organization of the data.
Next steps
If the --longitudinal flag is used, do the following:
Search the dataset for anatomical images on a session-wise basis, and process them independently.
Output figures in sub-X/ses-X/figures folder.
Output session-wise HTML reports. Where should this go? In xcp_d/ or xcp_d/sub-X/ or xcp_d/sub-X/ses-X?
If there is a subject-level anatomical folder, then only allow a single session (from Damien).
If the flag is not used, do the following:
Look for a single set of preprocessed anatomical images at the subject level (not the session level).
Summary
By default, fMRIPrep averages anatomical images across sessions. However, there may be some situations in which the preprocessing pipeline produces session-wise anatomical data (e.g., #1090, longitudinal studies like HBCD).
Additional details
The longitudinal pipeline requires session-level anatomical derivatives. It's possible that we could automatically configure the pipeline based on the organization of the data.
Next steps
--longitudinal
flag is used, do the following:sub-X/ses-X/figures
folder.xcp_d/
orxcp_d/sub-X/
orxcp_d/sub-X/ses-X
?sub-X/figures
folder.