Skip to content

Commit 5ff1c0a

Browse files
committed
FIX: add require_pet to BIDSDataGrabber
1 parent 8e81cf9 commit 5ff1c0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

petprep/workflows/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ def init_single_subject_wf(subject_id: str):
259259
BIDSDataGrabber(
260260
subject_data=subject_data,
261261
anat_only=config.workflow.anat_only,
262+
require_pet=bool(subject_data['pet']),
262263
subject_id=subject_id,
263264
anat_derivatives=anatomical_cache if anatomical_cache else None,
264265
),

0 commit comments

Comments
 (0)