Skip to content

Commit 555f35d

Browse files
committed
address Satra's comments
1 parent 3c35852 commit 555f35d

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

nipype/interfaces/afni/tests/test_auto_NwarpAdjust.py

Lines changed: 2 additions & 6 deletions
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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,6 @@ class NwarpAdjustInputSpec(CommandLineInputSpec):
15211521
in_files = InputMultiPath(
15221522
File(exists=True),
15231523
minlen=5,
1524-
mandatory=False,
15251524
argstr='-source %s',
15261525
desc='List of input 3D datasets to be warped by the adjusted warp '
15271526
'datasets. There must be exactly as many of these datasets as '
@@ -1531,11 +1530,10 @@ class NwarpAdjustInputSpec(CommandLineInputSpec):
15311530
'The output dataset will be on the common grid shared by the '
15321531
'source datasets.',
15331532
argstr='-prefix %s',
1534-
mandatory=False,
15351533
name_source='in_files',
15361534
name_template='%s_NwarpAdjust',
15371535
keep_extension=True,
1538-
xand=['in_files'])
1536+
xand=['requires'])
15391537

15401538

15411539
class NwarpAdjust(AFNICommandBase):

0 commit comments

Comments
 (0)