From 38c23d0d3bebac3b623eaae34c1699dd8d23cc46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mitlas=C3=B3czki=20Bence?= Date: Fri, 28 Jan 2022 12:48:30 +0100 Subject: [PATCH] Initialize superclass of ND2_Reader --- pims_nd2/nd2reader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pims_nd2/nd2reader.py b/pims_nd2/nd2reader.py index 64f0627..33fd418 100644 --- a/pims_nd2/nd2reader.py +++ b/pims_nd2/nd2reader.py @@ -80,6 +80,7 @@ def class_exts(cls): class_priority = 20 def __init__(self, filename, series=0, channel=0): + super().__init__() #Initialize superclass FramesSequenceND if not os.path.isfile(filename): raise IOError('The file "{}" does not exist.'.format(filename)) self.filename = str(filename)