Skip to content

Commit ab4df41

Browse files
committed
Blank preconfig update and some docstring fixes.
1 parent ae98a3a commit ab4df41

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

CPAC/func_preproc/func_preproc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,8 +1003,8 @@ def func_despike(wf, cfg, strat_pool, pipe_num, opt=None):
10031003
{"name": "func_despike",
10041004
"config": ["functional_preproc", "despiking"],
10051005
"switch": ["run"],
1006-
"option_key": "space",
1007-
"option_val": "native",
1006+
"option_key": ["space"],
1007+
"option_val": ["native"],
10081008
"inputs": ["desc-preproc_bold"],
10091009
"outputs": {
10101010
"desc-preproc_bold": {
@@ -1035,8 +1035,8 @@ def func_despike_template(wf, cfg, strat_pool, pipe_num, opt=None):
10351035
{"name": "func_despike_template",
10361036
"config": ["functional_preproc", "despiking"],
10371037
"switch": ["run"],
1038-
"option_key": "space",
1039-
"option_val": "template",
1038+
"option_key": ["space"],
1039+
"option_val": ["template"],
10401040
"inputs": ["space-template_desc-preproc_bold"],
10411041
"outputs": {
10421042
"space-template_desc-preproc_bold": {

CPAC/pipeline/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ def sanitize(filename):
630630
'scaling_factor': Number
631631
},
632632
'despiking': {
633-
'run': forkable
633+
'run': forkable,
634634
'space': In({'native', 'template'})
635635
},
636636
'slice_timing_correction': {

CPAC/resources/configs/pipeline_config_blank.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,8 @@ functional_preproc:
11921192
# run: [On, Off] - this will run both and fork the pipeline
11931193
run: [Off]
11941194

1195+
space: 'native'
1196+
11951197
nuisance_corrections:
11961198
2-nuisance_regression:
11971199

0 commit comments

Comments
 (0)