cds-astro / cds-healpix-python

cdshealpix python package
https://cds-astro.github.io/cds-healpix-python/
BSD 3-Clause "New" or "Revised" License
6 stars 3 forks source link

neighbours function should not return the center cell itself #17

Open tboch opened 11 months ago

tboch commented 11 months ago

This is not really a bug, but it is surprising that a neighbours function returns by default the cell given as parameter.

ManonMarchand commented 11 months ago

Proposition to change this:

as it is an API change, we would need to first publish a warning in the next version (0.7?), and then deprecate in the version after that (0.8 or 1?). Or we do that in the 1.0.0 directly?