Skip to content

Commit d6195e9

Browse files
author
bpinsard
committed
add min version for bbr options
1 parent d0acea2 commit d6195e9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

nipype/interfaces/fsl/preprocess.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -477,32 +477,32 @@ class FLIRTInputSpec(FSLCommandInputSpec):
477477

478478
# BBR options
479479
wm_seg = File(
480-
argstr='-wmseg %s',
480+
argstr='-wmseg %s', min_ver='5.0.0',
481481
desc='white matter segmentation volume needed by BBR cost function')
482482
wmcoords = File(
483-
argstr='-wmcoords %s',
483+
argstr='-wmcoords %s', min_ver='5.0.0',
484484
desc='white matter boundary coordinates for BBR cost function')
485485
wmnorms = File(
486-
argstr='-wmnorms %s',
486+
argstr='-wmnorms %s', min_ver='5.0.0',
487487
desc='white matter boundary normals for BBR cost function')
488488
fieldmap = File(
489-
argstr='-fieldmap %s',
489+
argstr='-fieldmap %s', min_ver='5.0.0',
490490
desc='fieldmap image in rads/s - must be already registered to the reference image')
491491
fieldmapmask = File(
492-
argstr='-fieldmapmask %s',
492+
argstr='-fieldmapmask %s', min_ver='5.0.0',
493493
desc='mask for fieldmap image')
494494
pedir = traits.Int(
495-
argstr='-pedir %d',
495+
argstr='-pedir %d', min_ver='5.0.0',
496496
desc='phase encode direction of EPI - 1/2/3=x/y/z & -1/-2/-3=-x/-y/-z')
497497
echospacing = traits.Float(
498-
argstr='-echospacing %f',
498+
argstr='-echospacing %f', min_ver='5.0.0',
499499
desc='value of EPI echo spacing - units of seconds')
500500
bbrtype = traits.Enum(
501501
'signed', 'global_abs', 'local_abs',
502-
argstr='-bbrtype %s',
502+
argstr='-bbrtype %s', min_ver='5.0.0',
503503
desc='type of bbr cost function: signed [default], global_abs, local_abs')
504504
bbrslope = traits.Float(
505-
argstr='-bbrslope %f',
505+
argstr='-bbrslope %f', min_ver='5.0.0',
506506
desc='value of bbr slope')
507507

508508

0 commit comments

Comments
 (0)