nanshe-org / nanshe

An image processing toolkit
https://nanshe-org.github.io/nanshe
BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

WIP: Workaround change in tifffile's memmap feature #469

Closed jakirkham closed 6 years ago

jakirkham commented 6 years ago

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).

jakirkham commented 6 years ago

Replaced with PR ( https://github.com/nanshe-org/nanshe/pull/471 ).