Skip to content

Commit f189901

Browse files
committed
Merge branch 'master' into fix/RedirectX
Conflicts: CHANGES nipype/interfaces/base.py
2 parents cf7c611 + fa0c7f1 commit f189901

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Next release
22
============
33

44
* FIX: Interfaces redirecting X crashed if $DISPLAY not defined (https://github.com/nipy/nipype/pull/1027)
5+
* FIX: Bug crashed 'make api' (https://github.com/nipy/nipype/pull/1026)
56
* ENH: Updated antsIntroduction to handle RA and RI registrations (https://github.com/nipy/nipype/pull/1009)
67
* ENH: Updated N4BiasCorrection input spec to include weight image and spline order. Made
78
argument formatting consistent. Cleaned ants.segmentation according to PEP8.

nipype/interfaces/base.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,17 @@ def _get_trait_desc(self, inputs, name, spec):
758758
manhelpstr = ['\t%s' % name]
759759

760760
type_info = spec.full_info(inputs, name, None)
761+
<<<<<<< HEAD
761762
default = ', nipype default value: %s' % spec.default_value()[1]
762763
line = "(%s%s)" % (type_info, default if spec.usedefault else '')
764+
=======
765+
default = ''
766+
767+
if spec.usedefault:
768+
default = ', nipype default value: %s' % str(spec.default_value()[1])
769+
770+
line = "(%s%s)" % (type_info, default)
771+
>>>>>>> master
763772
manhelpstr = wrap(line, 70,
764773
initial_indent=manhelpstr[0]+': ',
765774
subsequent_indent='\t\t ')

0 commit comments

Comments
 (0)