File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 8
8
"in_dir" ,
9
9
Directory ,
10
10
{
11
- "argstr" : "{in_dir}" ,
11
+ "argstr" : "' {in_dir}' " ,
12
12
"position" : - 1 ,
13
13
"help_string" : ("The directory containing the DICOMs to be converted" ),
14
14
"mandatory" : True ,
18
18
"out_dir" ,
19
19
str ,
20
20
{
21
- "argstr" : "-o {out_dir}" ,
21
+ "argstr" : "-o ' {out_dir}' " ,
22
22
"help_string" : "output directory" ,
23
23
"mandatory" : True ,
24
24
},
27
27
"filename" ,
28
28
str ,
29
29
"out_file" ,
30
- {"argstr" : "-f {filename}" , "help_string" : "The output name for the file" },
30
+ {"argstr" : "-f ' {filename}' " , "help_string" : "The output name for the file" },
31
31
),
32
32
(
33
33
"compress" ,
@@ -322,7 +322,7 @@ class Dcm2Niix(ShellCommandTask):
322
322
>>> task.inputs.out_dir = "test-data/output"
323
323
>>> task.inputs.compress = "y"
324
324
>>> task.cmdline
325
- ' dcm2niix -o test-data/output -f out_file -z y test-data/test_dicoms'
325
+ " dcm2niix -o ' test-data/output' -f ' out_file' -z y ' test-data/test_dicoms'"
326
326
"""
327
327
328
328
input_spec = Dcm2NiixInputSpec
You can’t perform that action at this time.
0 commit comments