We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22cd218 commit e944f98Copy full SHA for e944f98
petprep/workflows/base.py
@@ -524,9 +524,6 @@ def init_single_subject_wf(subject_id: str):
524
]),
525
]) # fmt:skip
526
527
- if config.workflow.anat_only:
528
- return clean_datasinks(workflow)
529
-
530
segmentation_wf = init_segmentation_wf(
531
seg=config.workflow.seg,
532
name=f'pet_{config.workflow.seg}_seg_wf',
@@ -545,6 +542,9 @@ def init_single_subject_wf(subject_id: str):
545
542
]
546
543
)
547
544
+ if config.workflow.anat_only:
+ return clean_datasinks(workflow)
+
548
# Append the PET section to the existing anatomical excerpt
549
# That way we do not need to filter down the number of PET datasets
550
pet_pre_desc = f"""
0 commit comments