Skip to content

Commit b46d6be

Browse files
committed
mandatory cannot be false
1 parent 2bc9ef0 commit b46d6be

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

nipype/interfaces/vista/tests/test_auto_Vnifti2Image.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ def test_Vnifti2Image_inputs():
66
input_map = dict(args=dict(argstr='%s',
77
),
88
attributes=dict(argstr='-attr %s',
9-
mandatory=False,
109
position=2,
1110
),
1211
environ=dict(nohash=True,

nipype/interfaces/vista/vista.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
class Vnifti2ImageInputSpec(CommandLineInputSpec):
1818
in_file = File(exists=True, argstr='-in %s', mandatory=True, position=1, desc='in file')
19-
attributes = File(exists=True, argstr='-attr %s', mandatory=False, position=2, desc='attribute file')
19+
attributes = File(exists=True, argstr='-attr %s', position=2, desc='attribute file')
2020
out_file = File(name_template="%s.v", keep_extension=False, argstr='-out %s', hash_files=False,
2121
position= -1, desc='output data file', name_source=["in_file"])
2222

0 commit comments

Comments
 (0)