Delay estimation appears to omit some subjects/measurements when a dataset contains a mix of PET files with and without a run entity, especially when run-specific PET scans share a session-level blood file.
Example structure:
sub-50419_ses-01_pet.nii.gz
sub-50419_ses-01_recording-manual_blood.tsv
sub-50507_ses-01_run-01_pet.nii.gz
sub-50507_ses-01_run-02_pet.nii.gz
sub-50507_ses-01_recording-manual_blood.tsv
The data definition and weights steps seem to detect and process the measurements correctly, but the delay estimation report/output only contains delay estimates for a subset of subjects.
Expected behavior: session-level blood/inputfunction data without run should be matched to all relevant run-specific PET measurements for the same subject/session.
Likely cause: the delay report joins TAC data and blood data using exact shared BIDS entities. When TAC rows contain run but blood rows do not, the join can silently drop run-specific measurements. This may also affect later plasma model reports that reuse the same TAC/blood joining pattern.
Delay estimation appears to omit some subjects/measurements when a dataset contains a mix of PET files with and without a run entity, especially when run-specific PET scans share a session-level blood file.
Example structure:
The data definition and weights steps seem to detect and process the measurements correctly, but the delay estimation report/output only contains delay estimates for a subset of subjects.
Expected behavior: session-level blood/inputfunction data without run should be matched to all relevant run-specific PET measurements for the same subject/session.
Likely cause: the delay report joins TAC data and blood data using exact shared BIDS entities. When TAC rows contain run but blood rows do not, the join can silently drop run-specific measurements. This may also affect later plasma model reports that reuse the same TAC/blood joining pattern.