Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fix Immutable Output from
WSIReader
(#850)
- Resolve issue #837 The output of WSI readers (read_rect, read_region, etc) are immutable, i.e. Read-only. We assume that created Numpy arrays created from PIL images in the `background_composite` are mutable by default. After Numpy v1.16.0, doing np.asarray(pil_image) will return an immutable Numpy array. Gladly, there is an easy fix for this, we should use `np.array()` instead of `np.asarray`.
- Loading branch information