Skip to content

Commit

Permalink
fix crash-inducing typo in warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Bailey authored and Stephen Bailey committed Sep 6, 2024
1 parent 33d11ac commit e8256df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/desispec/scripts/group_spectra.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def _read_framefile(filename, nside=None, healpix=None, ifile=None):
allpix = radec2pix(nside, ra, dec)
ii = np.where((allpix == healpix) & ok)[0]
if len(ii) == 0:
log.warning(f"Frame {filename} had no objects in healpix {args.healpix}. Continuing")
log.warning(f"Frame {filename} had no objects in healpix {healpix}. Continuing")
return None

frame = frame[ii]
Expand Down

0 comments on commit e8256df

Please sign in to comment.