Skip to content

Commit

Permalink
pixel around dir only at first iteration, fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Sommani committed Feb 5, 2024
1 parent ae23012 commit b7498ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skymap_scanner/server/start_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def pixel_already_sent(pixel: Tuple[icetray.I3Int, icetray.I3Int]) -> bool:
ang_dist=self.ang_dist,
coord_ra_dec=self.online_ra_dec,
)
self.ang_dist = None
self.online_ra_dec = None
LOGGER.info(f"Chose {len(pixels_to_refine)} pixels.")
#
pixels_to_refine = set(p for p in pixels_to_refine if not pixel_already_sent(p))
Expand Down

0 comments on commit b7498ba

Please sign in to comment.