Skip to content

Commit 5156fa4

Browse files
committed
BUG: Corrected inheritance bug
1 parent 7e24f28 commit 5156fa4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nipype/interfaces/io.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1651,9 +1651,12 @@ def __init__(self, infields=None, outfields=None, **kwargs):
16511651
)
16521652
if not outfields:
16531653
outfields = ['outfiles']
1654+
kwargs = kwargs.copy()
1655+
kwargs['infields'] = infields
1656+
kwargs['outfields'] = outfields
16541657
super(SSHDataGrabber, self).__init__(**kwargs)
16551658
if (
1656-
None in (self.inputs.username or self.inputs.password)
1659+
None in (self.inputs.username, self.inputs.password)
16571660
):
16581661
raise ValueError(
16591662
"either both username and password "

0 commit comments

Comments
 (0)