CAVEconnectome / MeshParty

Apache License 2.0
35 stars 16 forks source link

Allow optional pyembree installation #88

Closed ceesem closed 1 year ago

ceesem commented 1 year ago

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.