Skip to content

Commit ceeab49

Browse files
committed
address Satra's comments
1 parent e945fde commit ceeab49

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

nipype/interfaces/afni/tests/test_auto_NwarpAdjust.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,13 @@ def test_NwarpAdjust_inputs():
1515
nohash=True,
1616
usedefault=True,
1717
),
18-
in_files=dict(
19-
argstr='-source %s',
20-
mandatory=False,
21-
),
18+
in_files=dict(argstr='-source %s', ),
2219
out_file=dict(
2320
argstr='-prefix %s',
2421
keep_extension=True,
25-
mandatory=False,
2622
name_source='in_files',
2723
name_template='%s_NwarpAdjust',
28-
xand=['in_files'],
24+
xand=['requires'],
2925
),
3026
terminal_output=dict(
3127
deprecated='1.0.0',

nipype/interfaces/afni/utils.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,6 @@ class NwarpAdjustInputSpec(CommandLineInputSpec):
15261526
in_files = InputMultiPath(
15271527
File(exists=True),
15281528
minlen=5,
1529-
mandatory=False,
15301529
argstr='-source %s',
15311530
desc='List of input 3D datasets to be warped by the adjusted warp '
15321531
'datasets. There must be exactly as many of these datasets as '
@@ -1536,11 +1535,10 @@ class NwarpAdjustInputSpec(CommandLineInputSpec):
15361535
'The output dataset will be on the common grid shared by the '
15371536
'source datasets.',
15381537
argstr='-prefix %s',
1539-
mandatory=False,
15401538
name_source='in_files',
15411539
name_template='%s_NwarpAdjust',
15421540
keep_extension=True,
1543-
xand=['in_files'])
1541+
xand=['requires'])
15441542

15451543

15461544
class NwarpAdjust(AFNICommandBase):

0 commit comments

Comments
 (0)