Skip to content

Commit

Permalink
Merge pull request #9 from sidhulyalkar/main
Browse files Browse the repository at this point in the history
Fix imread pages key error
  • Loading branch information
ttngu207 authored Sep 8, 2023
2 parents c6c568d + a0b0c30 commit 5ed324a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suite2p/io/tiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def tiff_to_binary(ops):
nfr = min(Ltif - ix, batch_size)
# tiff reading
if use_sktiff:
im = imread(file, pages=range(ix, ix + nfr))
im = imread(file, key=range(ix, ix + nfr))
elif Ltif == 1:
im = tif.data()
else:
Expand Down

0 comments on commit 5ed324a

Please sign in to comment.