mocpy icon indicating copy to clipboard operation
mocpy copied to clipboard

(corner case) Ban negative indices

Open ManonMarchand opened this issue 2 years ago • 0 comments

Due to the conversion from python int to rust u8 negative indices are not rejected and create false MOCs instead.

To solve this:

  • find every place where indices can be entered (ex: from_healpix_cells)
  • ban negative values on python side

ManonMarchand avatar Dec 12 '23 15:12 ManonMarchand