Skip to content

Commit 3331825

Browse files
committed
Merge pull request #917 from oesteban/enh/FLIRTAddArgument
add missing argument to FLIRT
2 parents 51421b2 + 063aeaa commit 3331825

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

nipype/interfaces/fsl/preprocess.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,10 +471,12 @@ class FLIRTInputSpec(FSLCommandInputSpec):
471471
desc='do not use blurring on downsampling')
472472
rigid2D = traits.Bool(argstr='-2D',
473473
desc='use 2D rigid body mode - ignores dof')
474-
475474
save_log = traits.Bool(desc='save to log file')
476475
verbose = traits.Int(argstr='-verbose %d',
477476
desc='verbose mode, 0 is least')
477+
bgvalue = traits.Float(0, argstr='-setbackground %f',
478+
desc=('use specified background value for points '
479+
'outside FOV'))
478480

479481
# BBR options
480482
wm_seg = File(

nipype/interfaces/fsl/tests/test_auto_ApplyXfm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ def test_ApplyXfm_inputs():
2020
bbrtype=dict(argstr='-bbrtype %s',
2121
min_ver='5.0.0',
2222
),
23+
bgvalue=dict(argstr='-setbackground %f',
24+
),
2325
bins=dict(argstr='-bins %d',
2426
),
2527
coarse_search=dict(argstr='-coarsesearch %d',

nipype/interfaces/fsl/tests/test_auto_FLIRT.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ def test_FLIRT_inputs():
1919
bbrtype=dict(argstr='-bbrtype %s',
2020
min_ver='5.0.0',
2121
),
22+
bgvalue=dict(argstr='-setbackground %f',
23+
),
2224
bins=dict(argstr='-bins %d',
2325
),
2426
coarse_search=dict(argstr='-coarsesearch %d',

0 commit comments

Comments
 (0)