In tifffile version 0.13.0+, it appears that the memmap keyword to asarray has been dropped. Instead one must use out and set it to "memmap". To handle this change while remaining compatible with the old versions of tifffile, we try the new syntax and fallback to old syntax if a TypeError is raised (happens when the keyword doesn't exist).
In
tifffile
version0.13.0
+, it appears that thememmap
keyword toasarray
has been dropped. Instead one must useout
and set it to"memmap"
. To handle this change while remaining compatible with the old versions oftifffile
, we try the new syntax and fallback to old syntax if aTypeError
is raised (happens when the keyword doesn't exist).