File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -580,9 +580,18 @@ def init_single_subject_wf(subject_id: str):
580
580
suffices = [s .suffix for s in estimator .sources ]
581
581
582
582
if estimator .method == fm .EstimatorType .PEPOLAR :
583
+ # "Sophisticated" PEPOLAR schemes should be run "manually" with SDCFlows
584
+ # The following two cases are not considered sophisticated:
585
+ # 1. All PEPOLAR entities are the same modality
586
+ # (typically, more than two EPI PE directions), or
587
+ # 2. Two modalities are involved, with at most two images to pass
588
+ # into FSL TOPUP.
583
589
if (
584
590
len (set (suffices )) == 1
585
- or (len (suffices ) == 2 and all (suf in ('epi' , 'bold' , 'sbref' ) for suf in suffices ))
591
+ or (
592
+ len (suffices ) == 2
593
+ and all (suf in ('epi' , 'bold' , 'sbref' ) for suf in suffices )
594
+ )
586
595
):
587
596
wf_inputs = getattr (fmap_wf .inputs , f'in_{ estimator .bids_id } ' )
588
597
wf_inputs .in_data = [str (s .path ) for s in estimator .sources ]
You can’t perform that action at this time.
0 commit comments