Skip to content

Commit

Permalink
fix healpix column name
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Nov 20, 2024
1 parent 547035c commit c5ae1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/desispec/scripts/zcatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def read_redrock(rrfile, group=None, recoadd_fibermap=False, minimal=False, pert
# COADD_NUMEXP, COADD_NUMTILE, which are obtained from coadd_fibermapp()
# for zbest files.
#
for drop_col in ('NUMEXP', 'NUMTILE', 'NUMTARGET', 'HEALPIX', 'BLOBDIST', 'FIBERFLUX_IVAR_G', 'FIBERFLUX_IVAR_R', 'FIBERFLUX_IVAR_Z'):
for drop_col in ('NUMEXP', 'NUMTILE', 'NUMTARGET', 'HPXPIXEL', 'BLOBDIST', 'FIBERFLUX_IVAR_G', 'FIBERFLUX_IVAR_R', 'FIBERFLUX_IVAR_Z'):
if drop_col in data.colnames:
log.info("Removing column '%s' from %s ('ZCATALOG').", drop_col, os.path.basename(rrfile))
data.remove_column(drop_col)
Expand Down

0 comments on commit c5ae1cc

Please sign in to comment.