Skip to content

Commit e813126

Browse files
MNT: do not pass the default arguments of super()
In Python 3, the default arguments of the builtin super() are the current class and instance: https://docs.python.org/3/library/functions.html#super
1 parent 3083a18 commit e813126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smriprep/interfaces/reports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class SubjectSummary(SummaryInterface):
103103
def _run_interface(self, runtime):
104104
if isdefined(self.inputs.subject_id):
105105
self._results["subject_id"] = self.inputs.subject_id
106-
return super(SubjectSummary, self)._run_interface(runtime)
106+
return super()._run_interface(runtime)
107107

108108
def _generate_segment(self):
109109
if not isdefined(self.inputs.subjects_dir):

0 commit comments

Comments
 (0)