Skip to content

Commit 5c850da

Browse files
author
Ben Cipollini
committed
Match previous interface for Outputter, add back minimal docstring.
1 parent 7410d89 commit 5c850da

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

nibabel/gifti/parse_gifti_fast.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,11 +333,13 @@ def pending_data(self):
333333

334334
class Outputter(GiftiImageParser):
335335
@np.deprecate_with_doc("Use GiftiImageParser instead.")
336-
def __init__(self, *args, **kwargs):
337-
super(Outputter, self).__init__(*args, **kwargs)
336+
def __init__(self):
337+
super(Outputter, self).__init__()
338338

339-
def initialize(self, *args, **kwargs):
340-
self.__init__(*args, **kwargs)
339+
def initialize(self):
340+
""" Initialize outputter
341+
"""
342+
self.__init__()
341343

342344

343345
@np.deprecate_with_doc("Use GiftiImageParser.parse() instead.")

0 commit comments

Comments
 (0)