Skip to content

Commit e91d443

Browse files
committed
Merge pull request #896 from satra/fix/docbuild
Fix/docbuild
2 parents 0de7e95 + d253a21 commit e91d443

File tree

9 files changed

+17
-21
lines changed

9 files changed

+17
-21
lines changed

doc/_templates/indexsidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ <h3>{{ _('Links') }}</h3>
77
<li>Forum: <a href="http://groups.google.com/group/nipy-user">User</a> · <a href="http://projects.scipy.org/mailman/listinfo/nipy-devel">Developer</a></li>
88
<li><a href="http://nipy.org/software/license/index.html"><img src="https://pypip.in/license/nipype/badge.png" alt="License"></a> · <a href="http://nipy.org/about/funding.html">Funding</a></li>
99
<li><a href="https://travis-ci.org/nipy/nipype"><img src="https://travis-ci.org/nipy/nipype.png?branch=master" alt="travis"></a> · <a href='https://coveralls.io/r/nipy/nipype'><img src='https://coveralls.io/repos/nipy/nipype/badge.png' alt='Coverage Status' /></a></li>
10-
<li><a href="https://pypi.python.org/pypi/nipype/"><img src="https://pypip.in/download/nipype/badge.png" alt="Downloads"></a> · <a href='https://pypi.python.org/pypi/nipype/'><img src='https://pypip.in/py_versions/nipype/badge.pngg' alt='Python Versions' /></a></li>
10+
<li><a href="https://pypi.python.org/pypi/nipype/"><img src="https://pypip.in/download/nipype/badge.png" alt="Downloads"></a> · <a href='https://pypi.python.org/pypi/nipype/'><img src='https://pypip.in/py_versions/nipype/badge.png' alt='Python Versions' /></a></li>
1111
</ul>
1212

1313
{% endblock %}

nipype/algorithms/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ def calc_moments(timeseries_file, moment):
959959
class NormalizeProbabilityMapSetInputSpec(TraitedSpec):
960960
in_files = InputMultiPath(File(exists=True, mandatory=True,
961961
desc='The tpms to be normalized') )
962-
in_mask = File(exists=True, mandatory=False,
962+
in_mask = File(exists=True,
963963
desc='Masked voxels must sum up 1.0, 0.0 otherwise.')
964964

965965
class NormalizeProbabilityMapSetOutputSpec(TraitedSpec):

nipype/algorithms/tests/test_auto_NormalizeProbabilityMapSet.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
def test_NormalizeProbabilityMapSet_inputs():
66
input_map = dict(in_files=dict(),
7-
in_mask=dict(mandatory=False,
8-
),
7+
in_mask=dict(),
98
)
109
inputs = NormalizeProbabilityMapSet.input_spec()
1110

nipype/interfaces/elastix/base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
"""
1717

1818
from ..base import (CommandLine, CommandLineInputSpec, isdefined,
19-
TraitedSpec, File, traits, InputMultiPath)
19+
TraitedSpec, File, Directory, traits, InputMultiPath)
2020
from ... import logging
2121
logger = logging.getLogger('interface')
2222

2323

2424
class ElastixBaseInputSpec(CommandLineInputSpec):
25-
output_path = traits.Directory('./', exists=True, mandatory=True, usedefault=True,
26-
argstr='-out %s', desc='output directory')
25+
output_path = Directory('./', exists=True, mandatory=True, usedefault=True,
26+
argstr='-out %s', desc='output directory')
2727
num_threads = traits.Int(1, argstr='-threads %01d',
2828
desc='set the maximum number of threads of elastix')

nipype/interfaces/elastix/tests/test_auto_EditTransform.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ def test_EditTransform_inputs():
1414
),
1515
output_type=dict(argstr='ResultImagePixelType',
1616
),
17-
reference_image=dict(mandatory=False,
18-
),
17+
reference_image=dict(),
1918
transform_file=dict(mandatory=True,
2019
),
2120
)

nipype/interfaces/elastix/utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
class EditTransformInputSpec(BaseInterfaceInputSpec):
2828
transform_file = File(exists=True, mandatory=True,
2929
desc='transform-parameter file, only 1')
30-
reference_image = File(exists=True, mandatory=False,
31-
desc='set a new reference image to change the target coordinate system.')
30+
reference_image = File(exists=True,
31+
desc=('set a new reference image to change the '
32+
'target coordinate system.'))
3233
interpolation = traits.Enum('cubic','linear','nearest', usedefault=True,
3334
argstr='FinalBSplineInterpolationOrder',
3435
desc='set a new interpolator for transformation')

nipype/interfaces/fsl/tests/test_auto_ConvertWarp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ def test_ConvertWarp_inputs():
2020
),
2121
jacobian_min=dict(argstr='--jmin=%f',
2222
),
23+
midmat=dict(argstr='--midmat=%s',
24+
),
2325
out_abswarp=dict(argstr='--absout',
2426
xor=['out_relwarp'],
2527
),

nipype/interfaces/io.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,12 +1548,9 @@ def _list_outputs(self):
15481548
return None
15491549

15501550
class SSHDataGrabberInputSpec(DataGrabberInputSpec):
1551-
hostname = traits.Str(mandatory=True,
1552-
desc='Server hostname.')
1553-
username = traits.Str(mandatory=False,
1554-
desc='Server username.')
1555-
password = traits.Password(mandatory=False,
1556-
desc='Server password.')
1551+
hostname = traits.Str(mandatory=True, desc='Server hostname.')
1552+
username = traits.Str(desc='Server username.')
1553+
password = traits.Password(desc='Server password.')
15571554
download_files = traits.Bool(True, usedefault=True,
15581555
desc='If false it will return the file names without downloading them')
15591556
base_directory = traits.Str(mandatory=True,

nipype/interfaces/tests/test_auto_SSHDataGrabber.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ def test_SSHDataGrabber_inputs():
1212
ignore_exception=dict(nohash=True,
1313
usedefault=True,
1414
),
15-
password=dict(mandatory=False,
16-
),
15+
password=dict(),
1716
raise_on_empty=dict(usedefault=True,
1817
),
1918
sort_filelist=dict(mandatory=True,
@@ -25,8 +24,7 @@ def test_SSHDataGrabber_inputs():
2524
template_args=dict(),
2625
template_expression=dict(usedefault=True,
2726
),
28-
username=dict(mandatory=False,
29-
),
27+
username=dict(),
3028
)
3129
inputs = SSHDataGrabber.input_spec()
3230

0 commit comments

Comments
 (0)