Skip to content

Commit 9e74afe

Browse files
committed
Merge pull request #603 from satra/fix/docbuild
doc: fixed building with Sphinx 1.2
2 parents 04b1529 + b107f0a commit 9e74afe

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

doc/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
'sphinx.ext.doctest',
3737
'sphinx.ext.pngmath',
3838
'sphinx.ext.autosummary',
39-
'inheritance_diagram',
4039
'numpy_ext.numpydoc',
4140
'matplotlib.sphinxext.plot_directive',
4241
'matplotlib.sphinxext.only_directives'

nipype/interfaces/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ def _get_trait_desc(self, inputs, name, spec):
711711
def_val = ''
712712
if getattr(spec, 'usedefault'):
713713
def_arg = getattr(spec, 'default_value')()[1]
714-
def_val = ', nipype default value: %s' % def_arg
714+
def_val = ', nipype default value: %s' % str(def_arg)
715715
line = "(%s%s)" % (excp.info, def_val)
716716
manhelpstr = wrap(line, 70,
717717
initial_indent=manhelpstr[0]+': ',

0 commit comments

Comments
 (0)