File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ def find_estimators(
4242 force_fmapless : bool = False ,
4343 logger : Optional [logging .Logger ] = None ,
4444 bids_filters : Optional [dict ] = None ,
45+ anat_suffix : Union [str , List [str ]] = 'T1w' ,
4546) -> list :
4647 """
4748 Apply basic heuristics to automatically find available data for fieldmap estimation.
@@ -73,6 +74,9 @@ def find_estimators(
7374 bids_filters
7475 Optional dictionary of key/values to filter the entities on.
7576 This allows lower level file inclusion/exclusion.
77+ anat_suffix : :obj:`str` or :obj:`list`
78+ String or list of strings to filter anatomical images for fieldmap-less
79+ approaches. If not provided, ``T1w`` is used.
7680
7781 Returns
7882 -------
@@ -467,7 +471,7 @@ def find_estimators(
467471 fmapless = False
468472
469473 # Find fieldmap-less schemes
470- anat_file = layout .get (** {** base_entities , ** {'suffix' : 'T1w' , 'session' : sessions }})
474+ anat_file = layout .get (** {** base_entities , ** {'suffix' : anat_suffix , 'session' : sessions }})
471475
472476 if not fmapless or not anat_file :
473477 logger .debug ("Skipping fmap-less estimation" )
You can’t perform that action at this time.
0 commit comments