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 a multi-session dataset, running QSIPrep with --subject-anatomical-reference sessionwise does not correctly filter the dataset, resulting in duplicate processing and non-session-specifc outputs
Session-wise processing of a multi-session dataset.
What did you expect to happen?
I expected ses-01 to be processed with only the T1w, DWI, and reverse phase EPI from ses-01 and like for ses-02 to only process files from that session.
What actually happened?
Within the work directory, two top level folders were created, as expected sub-001_ses-01_wf and sub-001_ses-02_wf.
Several things happened that were not as expected. sub-001_ses-01_wf will be used as the exemplar but it is identically applicable to the other top level workflow folder.
Instead of only processing the ses-01 T1w image, the unbiased reference work flow was run, such that what should have been the session-specific preprocessed image was instead an unbiased average image of multiple sessions.
The DWI files from both ses-01 and ses-02 were processed in parallel without merging, whereas this workflow should only have processed ses-01 while ses-02 was processed in sub-001_ses-02_wf. This has the effect of duplicating all of the processing steps.
The output DWI files appeared to be correct (correct file names, no duplication or sessions in unexpected locations), but it wasn't clear which files were ultimately being written from the workflows to the output.
Including a bids-filter-file to limit session selection along with specifying --session-id appears to correct this. Only specifying --session-id replicates this behavior but only generates the specified top-level workflow. Thus if --session-id 01 is passed, then all of the issues are still present but sub-001_ses-02_wf was not created.
Summary
In a multi-session dataset, running QSIPrep with
--subject-anatomical-reference sessionwise
does not correctly filter the dataset, resulting in duplicate processing and non-session-specifc outputsAdditional details
What were you trying to do?
Session-wise processing of a multi-session dataset.
What did you expect to happen?
I expected
ses-01
to be processed with only the T1w, DWI, and reverse phase EPI fromses-01
and like forses-02
to only process files from that session.What actually happened?
Within the work directory, two top level folders were created, as expected
sub-001_ses-01_wf
andsub-001_ses-02_wf
.Several things happened that were not as expected.
sub-001_ses-01_wf
will be used as the exemplar but it is identically applicable to the other top level workflow folder.ses-01
T1w image, the unbiased reference work flow was run, such that what should have been the session-specific preprocessed image was instead an unbiased average image of multiple sessions.ses-01
andses-02
were processed in parallel without merging, whereas this workflow should only have processedses-01
whileses-02
was processed insub-001_ses-02_wf
. This has the effect of duplicating all of the processing steps.The output DWI files appeared to be correct (correct file names, no duplication or sessions in unexpected locations), but it wasn't clear which files were ultimately being written from the workflows to the output.
Including a
bids-filter-file
to limit session selection along with specifying--session-id
appears to correct this. Only specifying--session-id
replicates this behavior but only generates the specified top-level workflow. Thus if--session-id 01
is passed, then all of the issues are still present butsub-001_ses-02_wf
was not created.Reproducing the bug
Initial call:
The text was updated successfully, but these errors were encountered: