File tree 2 files changed +3
-9
lines changed
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 @@ -1526,7 +1526,6 @@ class NwarpAdjustInputSpec(CommandLineInputSpec):
1526
1526
in_files = InputMultiPath (
1527
1527
File (exists = True ),
1528
1528
minlen = 5 ,
1529
- mandatory = False ,
1530
1529
argstr = '-source %s' ,
1531
1530
desc = 'List of input 3D datasets to be warped by the adjusted warp '
1532
1531
'datasets. There must be exactly as many of these datasets as '
@@ -1536,11 +1535,10 @@ class NwarpAdjustInputSpec(CommandLineInputSpec):
1536
1535
'The output dataset will be on the common grid shared by the '
1537
1536
'source datasets.' ,
1538
1537
argstr = '-prefix %s' ,
1539
- mandatory = False ,
1540
1538
name_source = 'in_files' ,
1541
1539
name_template = '%s_NwarpAdjust' ,
1542
1540
keep_extension = True ,
1543
- xand = ['in_files ' ])
1541
+ xand = ['requires ' ])
1544
1542
1545
1543
1546
1544
class NwarpAdjust (AFNICommandBase ):
You can’t perform that action at this time.
0 commit comments