diff --git a/src/fabio/pixiimage.py b/src/fabio/pixiimage.py index de5ac463..7de65632 100644 --- a/src/fabio/pixiimage.py +++ b/src/fabio/pixiimage.py @@ -37,7 +37,7 @@ __contact__ = "wright@esrf.fr" __license__ = "MIT" __copyright__ = "European Synchrotron Radiation Facility, Grenoble, France" -__date__ = "03/04/2020" +__date__ = "30/05/2024" import numpy import os @@ -71,7 +71,7 @@ def _readheader(self, infile): infile.seek(0) self.header = self.check_header() byt = infile.read(4) - framesize = numpy.frombuffer(byt, numpy.int32) + framesize = numpy.frombuffer(byt, numpy.dtype("