File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change 23
23
),
24
24
),
25
25
(
26
- "out_filename " ,
26
+ "out_file " ,
27
27
attr .ib (
28
- type = str ,
28
+ type = File ,
29
29
metadata = {
30
- "argstr" : "{out_filename}" ,
31
- "position" : - 1 ,
32
30
"help_string" : "output image" ,
31
+ "output_file_template" : "{in_file}_converted" ,
33
32
},
34
33
),
35
34
),
38
37
attr .ib (
39
38
type = ty .List [float ],
40
39
metadata = {
41
- "sep" : ", " ,
40
+ "sep" : " " ,
42
41
"argstr" : "-coord" ,
43
42
"help_string" : "extract data at the specific coordinatest" ,
44
43
},
104
103
MRConvertOutputSpec = SpecInfo (
105
104
name = "MRConvertOutputs" ,
106
105
fields = [
107
- (
108
- "out_file" ,
109
- attr .ib (
110
- type = File ,
111
- metadata = {
112
- "help_string" : "output image" ,
113
- "output_file_template" : "{out_filename}" ,
114
- },
115
- ),
116
- ),
117
106
(
118
107
"out_bfile" ,
119
108
attr .ib (
@@ -147,7 +136,7 @@ class MRConvert(ShellCommandTask):
147
136
>>> task.inputs.in_file = "test_dwi.nii.gz"
148
137
>>> task.inputs.grad_fsl = ["test.bvec", "test.bval"]
149
138
>>> task.inputs.export_grad = "test.b"
150
- >>> task.inputs.out_filename = "test.mif"
139
+ >>> task.inputs.out_file = "test.mif"
151
140
>>> task.cmdline
152
141
'mrconvert test_dwi.nii.gz -fslgrad test.bvec test.bval -export_grad_mrtrix test.b test.mif'
153
142
"""
You can’t perform that action at this time.
0 commit comments