Skip to content

Commit 67133c7

Browse files
author
Lee Kamentsky
committed
oops sorry, try again
1 parent df06d24 commit 67133c7

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
@@ -793,7 +793,7 @@ def read(self, c = None, z = 0, t = 0, series = None, index = None,
793793
elif self.rdr.isRGB() and self.rdr.isInterleaved():
794794
index = self.rdr.getIndex(z,0,t)
795795
image = np.frombuffer(self.rdr.openBytes(index), dtype)
796-
image.shape = (height, width, self.getSizeC())
796+
image.shape = (height, width, self.rdr.getSizeC())
797797
if image.shape[2] > 3:
798798
image = image[:, :, :3]
799799
elif c is not None and self.rdr.getRGBChannelCount() == 1:

0 commit comments

Comments
 (0)