Skip to content

Commit db370d9

Browse files
author
Lee Kamentsky
committed
issue #7 fixed INT8 datatype changed from np.char to np.int8
1 parent a31c0ed commit db370d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bioformats/formatreader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ def read(self, c = None, z = 0, t = 0, series = None, index = None,
718718
pixel_type = self.rdr.getPixelType()
719719
little_endian = self.rdr.isLittleEndian()
720720
if pixel_type == FormatTools.INT8:
721-
dtype = np.char
721+
dtype = np.int8
722722
scale = 255
723723
elif pixel_type == FormatTools.UINT8:
724724
dtype = np.uint8

0 commit comments

Comments
 (0)