Numpy no longer has the attribute warnings and causes some of the tests to fail. This is because of the call to numpy.warnings.catch_warnings() from hawc_hal/healpix_handling/gnomonic_projection.py. The issue can be fixed by simply importing warnings as most of the desired functionality comes from that module.
Aside from fixing the issue mentioned above, there are some minor differences, such as the formatting of the code and removing a few unused module imports.
Numpy no longer has the attribute
warnings
and causes some of the tests to fail. This is because of the call tonumpy.warnings.catch_warnings()
fromhawc_hal/healpix_handling/gnomonic_projection.py
. The issue can be fixed by simply importingwarnings
as most of the desired functionality comes from that module.Aside from fixing the issue mentioned above, there are some minor differences, such as the formatting of the code and removing a few unused module imports.