Closed lpsinger closed 1 year ago
@lpsinger,
Yes it is a bug, we are going to fix it today.
We first wanted to break the API requiring the max_depth
parameter (it is a parameter provided in the multires FITS files, and providing it spares an extra loop on all cells).
We then decided to do otherwise but we are not computing the max_depth at the right place...
We will update both the code and the doc.
Thank you for the notification.
MOC.from_valued_healpix_cells is broken in mocpy 0.12.0.
Mocpy 0.12.0 had some changes with respect to the behavior of the
max_depth
keyword argument that seem like they are related. However, this keyword argument is still documented as being optional.In mocpy 0.11.0:
In mocpy 0.12.0:
See lpsinger/ligo.skymap#19.