JacksonBurns / mordred-community

Community-Maintained Version of mordred
https://jacksonburns.github.io/mordred-community/
BSD 3-Clause "New" or "Revised" License
44 stars 3 forks source link

fix numpy warning getting through filters and breaking stdout #6

Closed JacksonBurns closed 1 year ago

JacksonBurns commented 1 year ago

This PR should resolve #5

I commented out this line in the calculator and then run python with -Werror to see where this warning was actually coming from, and then added a warning catch context manager there to prevent it from getting out.

In the future this warning catcher may have to go up a level to where the current broad except statement is, but that's a problem for another PR.