Skip to content

Commit 94836ca

Browse files
committed
create automatic test
1 parent 1bb4416 commit 94836ca

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

nipype/interfaces/freesurfer/tests/test_auto_Tkregister2.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,27 @@ def test_Tkregister2_inputs():
88
environ=dict(nohash=True,
99
usedefault=True,
1010
),
11-
fsl=dict(argstr='--fsl %s',
11+
fsl_in_matrix=dict(argstr='--fsl %s',
1212
),
1313
ignore_exception=dict(nohash=True,
1414
usedefault=True,
1515
),
16-
mov=dict(argstr='--mov %s',
16+
moving_image=dict(argstr='--mov %s',
1717
mandatory=True,
1818
),
1919
noedit=dict(argstr='--noedit',
20+
usedefault=True,
2021
),
21-
out_reg_file=dict(argstr='--reg %s',
22+
reg_file=dict(argstr='--reg %s',
2223
mandatory=True,
2324
name_source='fsl',
2425
name_template='%s.dat',
2526
),
2627
subject_id=dict(argstr='--s %s',
2728
mandatory=True,
2829
),
29-
subjects_dir=dict(),
30+
subjects_dir=dict(argstr='--sd %s',
31+
),
3032
terminal_output=dict(mandatory=True,
3133
nohash=True,
3234
),
@@ -38,7 +40,7 @@ def test_Tkregister2_inputs():
3840
yield assert_equal, getattr(inputs.traits()[key], metakey), value
3941

4042
def test_Tkregister2_outputs():
41-
output_map = dict(out_reg_file=dict(),
43+
output_map = dict(reg_file=dict(),
4244
)
4345
outputs = Tkregister2.output_spec()
4446

0 commit comments

Comments
 (0)