Skip to content

Commit d256a59

Browse files
committed
running check-before-commit
1 parent 7af657a commit d256a59

File tree

5 files changed

+67
-221
lines changed

5 files changed

+67
-221
lines changed

doc/users/config_file.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Resource Monitor
170170
Indicates where the summary file collecting all profiling information from the
171171
resource monitor should be stored after execution of a workflow.
172172
The ``summary_file`` does not apply to interfaces run independently.
173-
(unset by default, in which case the summary file will be written out to
173+
(unset by default, in which case the summary file will be written out to
174174
``<base_dir>/resource_monitor.json`` of the top-level workflow).
175175

176176
*summary_append*

doc/users/plugins.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ Optional arguments::
8282
exceed the total amount of resources available (memory and threads), when
8383
``False`` (default), only a warning will be issued.
8484

85-
maxtasksperchild : number of nodes to run on each process before refreshing
85+
maxtasksperchild : number of nodes to run on each process before refreshing
8686
the worker (default: 10).
87-
87+
8888

8989
To distribute processing on a multicore machine, simply call::
9090

nipype/interfaces/ants/tests/test_auto_Registration.py

Lines changed: 0 additions & 157 deletions
This file was deleted.
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2+
from __future__ import unicode_literals
3+
from ..registration import RegistrationSynQuick
4+
5+
6+
def test_RegistrationSynQuick_inputs():
7+
input_map = dict(args=dict(argstr='%s',
8+
),
9+
dimension=dict(argstr='-d %d',
10+
usedefault=True,
11+
),
12+
environ=dict(nohash=True,
13+
usedefault=True,
14+
),
15+
fixed_image=dict(argstr='-f %s',
16+
mandatory=True,
17+
),
18+
histogram_bins=dict(argstr='-r %d',
19+
),
20+
ignore_exception=dict(deprecated='1.0.0',
21+
nohash=True,
22+
usedefault=True,
23+
),
24+
moving_image=dict(argstr='-m %s',
25+
mandatory=True,
26+
),
27+
num_threads=dict(argstr='-n %d',
28+
),
29+
output_prefix=dict(argstr='-o %s',
30+
usedefault=True,
31+
),
32+
precision_type=dict(argstr='-p %s',
33+
usedefault=True,
34+
),
35+
spline_distance=dict(argstr='-s %d',
36+
),
37+
terminal_output=dict(deprecated='1.0.0',
38+
nohash=True,
39+
),
40+
transform_type=dict(argstr='-t %s',
41+
usedefault=True,
42+
),
43+
use_histogram_matching=dict(argstr='-j %d',
44+
),
45+
)
46+
inputs = RegistrationSynQuick.input_spec()
47+
48+
for key, metadata in list(input_map.items()):
49+
for metakey, value in list(metadata.items()):
50+
assert getattr(inputs.traits()[key], metakey) == value
51+
52+
53+
def test_RegistrationSynQuick_outputs():
54+
output_map = dict(forward_warp_field=dict(),
55+
inverse_warp_field=dict(),
56+
inverse_warped_image=dict(),
57+
out_matrix=dict(),
58+
warped_image=dict(),
59+
)
60+
outputs = RegistrationSynQuick.output_spec()
61+
62+
for key, metadata in list(output_map.items()):
63+
for metakey, value in list(metadata.items()):
64+
assert getattr(outputs.traits()[key], metakey) == value

nipype/interfaces/niftyseg/tests/test_auto_PatchMatch.py

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)