@@ -94,9 +94,9 @@ def get_parser():
94
94
default = 'MNI152NLin2009cAsym' ,
95
95
help = 'registered space of input datasets. '
96
96
'Empty value for no explicit space.' )
97
- g_bids .add_argument ('--force-index' , action = 'store' , default = None ,
97
+ g_bids .add_argument ('--force-index' , action = 'store' , default = None , nargs = '+' ,
98
98
help = 'regex pattern or string to include files' )
99
- g_bids .add_argument ('--ignore' , action = 'store' , default = None ,
99
+ g_bids .add_argument ('--ignore' , action = 'store' , default = None , nargs = '+' ,
100
100
help = 'regex pattern or string to ignore files' )
101
101
g_bids .add_argument ('--desc-label' , action = 'store' , default = 'preproc' ,
102
102
help = "use BOLD files with the provided description label" )
@@ -207,7 +207,6 @@ def run_fitlins(argv=None):
207
207
database_path = opts .database_path
208
208
reset_database = False
209
209
210
-
211
210
layout = BIDSLayout (opts .bids_dir ,
212
211
derivatives = derivatives ,
213
212
ignore = ignore ,
@@ -232,7 +231,6 @@ def run_fitlins(argv=None):
232
231
analysis_level = opts .analysis_level , model = model ,
233
232
space = opts .space , desc = opts .desc_label ,
234
233
participants = subject_list , base_dir = work_dir ,
235
- force_index = opts .force_index , ignore = opts .ignore ,
236
234
smoothing = opts .smoothing , drop_missing = opts .drop_missing ,
237
235
)
238
236
0 commit comments