Skip to content

Commit 4f89a05

Browse files
committed
took out unnecesary overload in format_args
1 parent 55a5304 commit 4f89a05

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

nipype/interfaces/ants/segmentation.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -662,18 +662,6 @@ class antsBrainExtraction(ANTSCommand):
662662
_cmd = 'antsBrainExtraction.sh'
663663

664664
def _format_arg(self, opt, spec, val):
665-
if opt == 'anatomical_image':
666-
retval = '-a %s' % val
667-
return retval
668-
if opt == 'brain_template':
669-
retval = '-e %s' % val
670-
return retval
671-
if opt == 'brain_probability_mask':
672-
retval = '-m %s' % val
673-
return retval
674-
if opt == 'out_prefix':
675-
retval = '-o %s' % val
676-
return retval
677665
return super(ANTSCommand, self)._format_arg(opt, spec, val)
678666

679667
def _run_interface(self, runtime, correct_return_codes=[0]):

0 commit comments

Comments
 (0)