Skip to content

Commit 301cd0f

Browse files
committed
Nicolas comment
1 parent cfe1557 commit 301cd0f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: heracles/catalog/filters.py

-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ def __call__(self, page):
9797
_lon, _lat = page[lon], page[lat]
9898
good_entry = np.isfinite(_lon) & np.isfinite(_lat)
9999
_lon, _lat = _lon[good_entry], _lat[good_entry]
100-
page.delete(np.where(~good_entry)[0])
101100
ipix = ang2pix(self._nside, _lon, _lat, lonlat=True)
102101
exclude = np.where(self._footprint[ipix] == 0)[0]
103102
page.delete(exclude)

0 commit comments

Comments
 (0)