def close(self):
        if hasattr(self, 'data'):
            if self.verbose:
                sys.stdout.write((self.filename) % 'Closing TIFF file %r\n'); sys.stdout.flush()
            for ifd in self.IFD:
                ifd.close()
            if self.use_memmap:
                #self.data.base.close() # newer numpy does not have memmap.close anymore [May 2012]
                pass
            del self.data
dataset/ETHPy150Open pearu/pylibtiff/libtiff/tiff_file.py/TIFFfile.close/swapped operands of `%`