Skip to content

Commit a289c16

Browse files
committed
Fixed tests and docs
1 parent 6edc193 commit a289c16

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ class AutomaskOutputSpec(TraitedSpec):
512512
out_file = File(desc='mask file',
513513
exists=True)
514514

515-
brain_file = File(desc='brain file (skull stripped)')
515+
brain_file = File(desc='brain file (skull stripped)', exists=True)
516516

517517

518518
class Automask(AFNICommand):

nipype/interfaces/afni/tests/test_preprocess.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,16 +387,13 @@ def test_maskave():
387387

388388

389389
def test_automask():
390-
input_map = dict(apply_mask=dict(argstr='-apply_prefix %s'),
391-
apply_suffix=dict(),
392-
args=dict(argstr='%s',),
390+
input_map = dict(args=dict(argstr='%s',),
393391
clfrac=dict(argstr='-dilate %s',),
394392
dilate=dict(argstr='-dilate %s',),
395393
environ=dict(usedefault=True,),
396394
erode=dict(argstr='-erode %s',),
397395
ignore_exception=dict(usedefault=True,),
398396
in_file=dict(argstr='%s', mandatory=True,),
399-
mask_suffix=dict(),
400397
out_file=dict(argstr='-prefix %s'),
401398
outputtype=dict(),
402399
)

0 commit comments

Comments
 (0)