Skip to content

Commit 2955bad

Browse files
committed
Merge pull request #816 from satra/fix/helpoutput
Fix/helpoutput
2 parents aadb26b + a891cce commit 2955bad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ def _inputs_help(cls):
785785

786786
opthelpstr = ['', '\t[Optional]']
787787
for name, spec in sorted(inputs.traits(transient=None).items()):
788-
if spec in mandatory_items:
788+
if name in mandatory_items:
789789
continue
790790
opthelpstr += cls._get_trait_desc(inputs, name, spec)
791791

0 commit comments

Comments
 (0)