Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
geordie666 committed May 4, 2024
1 parent c2e2eeb commit 23c7ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/desitarget/secondary.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def match_to_main_survey(ras, decs, sep=1.):
log.info(f"Running on primary {oc} targets...t={time()-t0:.1f}s")
# ADM loop through pixels and perform the match.
for i, pixnum in enumerate(pixnums):
if i%20==19:
if i % 20 == 19:
log.info(f"Done {i+1}/{npix} pixels...t={time()-t0:.1f}s")
# ADM get the filename for the target file in each pixel.
fn = find_target_files(targdir, dr=9, flavor="targets", obscon=oc,
Expand Down

0 comments on commit 23c7ccc

Please sign in to comment.