def __repr__(self):
        try:
            source = self.pathname
        except __HOLE__:
            source = '(list of images)'
        s = "<ImageSequenceND>\nSource: {0}\n".format(source)
        s += "Axes: {0}\n".format(self.ndim)
        for dim in self._sizes:
            s += "Axis '{0}' size: {1}\n".format(dim, self._sizes[dim])
        s += """Pixel Datatype: {dtype}""".format(dtype=self.pixel_type)
        return s
dataset/ETHPy150Open soft-matter/pims/pims/image_sequence.py/ImageSequenceND.__repr__