Pyembree import is only attempted if needed, and is kept under a try/except error for cleanliness. Along the way, I fixed a few issues that were causing deprecation warnings: 1) np.int/np.bool/np.float are now just int/bool/float. 2) Imageio is going to update to v3 at some point that will change behavior, so to avoid that I switched to import imageio.v2 as imageio as suggested by its deprecation warning.
Pyembree import is only attempted if needed, and is kept under a try/except error for cleanliness. Along the way, I fixed a few issues that were causing deprecation warnings: 1)
np.int/np.bool/np.float
are now justint/bool/float
. 2) Imageio is going to update to v3 at some point that will change behavior, so to avoid that I switched toimport imageio.v2 as imageio
as suggested by its deprecation warning.