You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you call the CompositeHexagonalApertuere class / _composite_hexagonal_aperture function, it looks like there is a reference to the np.bool type -- which was deprecated with Numpy 1.20.0. Any use of np.bool should be replace with bool -- previously this was just an alias for the builtin type.
In the meantime, a somewhat hacky work around is simply to manually define that alias before import, i.e.: np.bool = bool.
Full error message attached.
The text was updated successfully, but these errors were encountered:
When you call the
CompositeHexagonalApertuere
class /_composite_hexagonal_aperture
function, it looks like there is a reference to thenp.bool
type -- which was deprecated with Numpy 1.20.0. Any use ofnp.bool
should be replace withbool
-- previously this was just an alias for the builtin type.In the meantime, a somewhat hacky work around is simply to manually define that alias before import, i.e.:
np.bool = bool
.Full error message attached.
The text was updated successfully, but these errors were encountered: