File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,13 @@ def test_NwarpAdjust_inputs():
15
15
nohash = True ,
16
16
usedefault = True ,
17
17
),
18
- in_files = dict (
19
- argstr = '-source %s' ,
20
- mandatory = False ,
21
- ),
18
+ in_files = dict (argstr = '-source %s' , ),
22
19
out_file = dict (
23
20
argstr = '-prefix %s' ,
24
21
keep_extension = True ,
25
- mandatory = False ,
26
22
name_source = 'in_files' ,
27
23
name_template = '%s_NwarpAdjust' ,
28
- xand = ['in_files ' ],
24
+ xand = ['requires ' ],
29
25
),
30
26
terminal_output = dict (
31
27
deprecated = '1.0.0' ,
Original file line number Diff line number Diff line change @@ -1521,7 +1521,6 @@ class NwarpAdjustInputSpec(CommandLineInputSpec):
1521
1521
in_files = InputMultiPath (
1522
1522
File (exists = True ),
1523
1523
minlen = 5 ,
1524
- mandatory = False ,
1525
1524
argstr = '-source %s' ,
1526
1525
desc = 'List of input 3D datasets to be warped by the adjusted warp '
1527
1526
'datasets. There must be exactly as many of these datasets as '
@@ -1531,11 +1530,10 @@ class NwarpAdjustInputSpec(CommandLineInputSpec):
1531
1530
'The output dataset will be on the common grid shared by the '
1532
1531
'source datasets.' ,
1533
1532
argstr = '-prefix %s' ,
1534
- mandatory = False ,
1535
1533
name_source = 'in_files' ,
1536
1534
name_template = '%s_NwarpAdjust' ,
1537
1535
keep_extension = True ,
1538
- xand = ['in_files ' ])
1536
+ xand = ['requires ' ])
1539
1537
1540
1538
1541
1539
class NwarpAdjust (AFNICommandBase ):
You can’t perform that action at this time.
0 commit comments