File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -633,6 +633,7 @@ def init_single_subject_wf(
633633 all_estimators , estimator_map = map_fieldmap_estimation (
634634 layout = config .execution .layout ,
635635 subject_id = subject_id ,
636+ session_id = session_id ,
636637 bold_data = bold_runs ,
637638 ignore_fieldmaps = 'fieldmaps' in config .workflow .ignore ,
638639 use_syn = config .workflow .use_syn_sdc ,
@@ -943,6 +944,7 @@ def init_single_subject_wf(
943944def map_fieldmap_estimation (
944945 layout : bids .BIDSLayout ,
945946 subject_id : str ,
947+ session_id : str | list [str ] | None ,
946948 bold_data : list [list [str ]],
947949 ignore_fieldmaps : bool ,
948950 use_syn : bool | str ,
@@ -963,6 +965,7 @@ def map_fieldmap_estimation(
963965 fmap_estimators = find_estimators (
964966 layout = layout ,
965967 subject = subject_id ,
968+ session = [session_id ] if isinstance (session_id , str ) else session_id ,
966969 fmapless = bool (use_syn ) or (ignore_fieldmaps and force_syn ),
967970 force_fmapless = force_syn or (ignore_fieldmaps and use_syn ),
968971 bids_filters = filters ,
You can’t perform that action at this time.
0 commit comments