Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated reference to np.bool in _composite_hexagonal_aperture #118

Open
julesfowler opened this issue Nov 5, 2024 · 2 comments
Open

Comments

@julesfowler
Copy link

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.
Screen Shot 2024-11-05 at 10 58 17 AM

@brandondube
Copy link
Owner

This was fixed some time ago -- please use the latest master/main branch

@brandondube
Copy link
Owner

@julesfowler are you alright if I close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants